Commit graph

23 commits

Author SHA1 Message Date
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
ryan
ed179aaf8f
Fix typo 2024-04-05 00:06:31 -07:00
Matthew Davies
36ba2e4508
Update readme to include better info about protos submodule init
Update gen_protos.sh to check the proper directory and echo the command
2024-03-28 21:33:55 -07:00
Andrej Toth
88b0ed5ca1 fix typo in README 2024-02-03 21:28:36 +00:00
Garth Vander Houwen
ab12891d27
Merge branch 'main' into 2.0.3_Working_Changes 2022-11-19 11:15:20 -08:00
Garth Vander Houwen
d5699669ec Update readme 2022-11-19 11:12:40 -08:00
Garth Vander Houwen
374cb6dcd4
Update README.md 2022-11-16 18:43:50 -08:00
Garth Vander Houwen
46a15dc4cc
Update README.md 2022-11-11 17:13:47 -08:00
Garth Vander Houwen
a5355b5c1f Readme updates 2022-10-08 08:49:12 -07:00
Garth Vander Houwen
a2e5603e91
Update README.md 2022-06-12 08:49:40 -07:00
Sacha Weatherstone
6351b0b71f
Update README.md 2022-05-12 21:22:10 +10:00
Garth Vander Houwen
775512db69
Update README.md 2022-02-23 19:22:48 -10:00
Garth Vander Houwen
133918a811
Update README.md 2022-01-24 18:23:12 -08:00
Garth Vander Houwen
a9fc2ec326
Update README.md 2022-01-24 17:36:38 -08:00
Garth Vander Houwen
a4a67605b4
Update README.md 2022-01-24 17:20:36 -08:00
Garth Vander Houwen
a0db1ab881
Update README.md 2022-01-24 17:19:13 -08:00
Garth Vander Houwen
718a343ef7
Update README.md 2022-01-24 17:18:52 -08:00
Garth Vander Houwen
d106680d33
Update README.md 2021-12-25 23:52:50 -08:00
Garth Vander Houwen
3a47b29627
Update README.md 2021-12-25 23:52:20 -08:00
Mike Kinney
458e698a2d update protobufs from master 0de53c84a26a42ce9405109e392ca1143de86f58 2021-11-29 21:11:27 -08:00
Mike Kinney
c831c49832 add swiftlint; tune errors to warnings for now 2021-11-29 15:57:24 -08:00
Garth Vander Houwen
13e5d790d4
Update README.md 2021-08-20 08:15:15 -07:00
Garth Vander Houwen
32600f6a7b
Create README.md 2021-08-20 08:14:53 -07:00