mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			|  | 6 years ago | |
|---|---|---|
| .. | ||
| Fingerprint.proto | 7 years ago | |
| Makefile | 7 years ago | |
| Provisioning.proto | 7 years ago | |
| README.md | 6 years ago | |
| SignalIOS.proto | 7 years ago | |
| SignalService.proto | 6 years ago | |
| WebSocketResources.proto | 7 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	SignalServiceKit Protobufs
These protobuf definitions are copied from Session-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 SignalServiceKit/protobuf
make