mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
.. | ||
Fingerprint.proto | ||
Makefile | ||
Provisioning.proto | ||
README.md | ||
SignalIOS.proto | ||
SignalService.proto | ||
WebSocketResources.proto |
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