Meshtastic-Apple/Meshtastic/Enums
Blake McAnally 58da532d32 Extract the generated protobufs into its own Swift package
This change modifies the process for generating and integrating the Meshtastic protobufs into the client application.

* The generated Swift code is now in a local SPM package `MeshtasticProtobufs`
* An Xcode Workspace file `Meshtastic.xcworkspace` was created to more easily manage the new build targets.
* The code generation script for the protos was modified to generate the Swift code into the new location.
* The README.md was updated to reflect these changes.

NOTE: After merging this PR, do not open the project file `Meshtastic.xcodeproj`. You must use the workspace `Meshtastic.xcworkspace`

Extracting out the generated protobuf code into its own library enables several opportunities for the project. This is just a first step, but with some more modularization, a standalone Apple Watch app or other targets starts to become a little bit more achievable to implement.

After extracting the protobufs into a Swift package, I validate these changes by building and running the Meshtastic app to an iPhone 15 Pro Max, and tried changing some settings on a local node. I then messaged back and forth using two local nodes connected to two different iOS devices.
2024-06-28 11:11:01 -05:00
..
AppSettingsEnums.swift Swiftlint fixes 2024-06-02 18:32:14 -07:00
BluetoothModes.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
CannedMessagesConfigEnums.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
ChannelRoles.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
DeviceEnums.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
DisplayEnums.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
EthernetModes.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
IntervalEnums.swift Fix nag timeout dropdown 2024-05-31 20:25:37 -07:00
LoraConfigEnums.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
MessageDestination.swift improvement: add MessageText views 2024-02-17 14:10:25 -07:00
MessagingEnums.swift Assorted updates 2024-03-23 09:01:44 -07:00
PositionConfigEnums.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
RouteEnums.swift This change fixes several lint errors throughout the project, and moves the SwiftLint build phase to before compilation. 2024-05-31 21:48:50 -05:00
RoutingError.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
SerialConfigEnums.swift Extract the generated protobufs into its own Swift package 2024-06-28 11:11:01 -05:00
TelemetryEnums.swift This change fixes several lint errors throughout the project, and moves the SwiftLint build phase to before compilation. 2024-05-31 21:48:50 -05:00
TelemetryWeather.swift Lint! 2023-03-06 13:26:04 -08:00