kidd3166 bcfbb57d36 1.4 update 2 лет назад
..
README.md bcfbb57d36 1.4 update 2 лет назад
bledata.proto bcfbb57d36 1.4 update 2 лет назад

README.md

Protobuf code generation

  1. Install the newest protoc. It can be done via brew:
brew install protobuf
  1. For Swift code generation install :
brew install swift-protobuf
  1. If you don't have Dart SDK on your computer please install it.
brew isntall dart
  1. Run pub global activate protoc_plugin
  2. OPTIONAL Add plugin path to PATH environment variable
  3. Run the following command from the "protos" directory
protoc --dart_out=../lib/src/generated ./bledata.proto
protoc --swift_out=../ios/Classes/BleData ./bledata.proto

NOTE: If directory ../lib/generated or ./ios/Classes/BleData does not exist please create it.