session-ios/SignalServiceKit/protobuf
Matthew Chen 64c99988a7 Code generate Swift wrappers for protocol buffers. 2018-08-01 14:37:09 -04:00
..
Fingerprint.proto CR: tweak proto class name, include yet-to-be-used protos 2018-07-25 13:48:52 -06:00
Makefile Code generate Swift wrappers for protocol buffers. 2018-08-01 11:20:55 -04:00
Provisioning.proto CR: tweak proto class name, include yet-to-be-used protos 2018-07-25 13:48:52 -06:00
README.md Swift protos for Envelope 2018-07-25 13:04:26 -06:00
SignalIOS.proto CR: tweak proto class name, include yet-to-be-used protos 2018-07-25 13:48:52 -06:00
SignalService.proto Code generate Swift wrappers for protocol buffers. 2018-08-01 14:37:09 -04:00
WebSocketResources.proto CR: tweak proto class name, include yet-to-be-used protos 2018-07-25 13:48:52 -06:00

README.md

SignalServiceKit Protobufs

These protobuf definitions are copied from Signal-Android, but modified to match some iOS conventions.

Prequisites

Install Apple's swift-protobuf (not the similarly named protobuf-swift)

brew install swift-protobuf

This should install an up to date protobuf package as a dependency. Note that since we use the legacy proto2 format, we need to specify this in our .proto files.

syntax = "proto2";

Building Protobuf

cd ~/src/WhisperSystems/SignalServiceKit/protobuf
make