This is a protobuf iOS library.
- iOS 4.0 and above
- Support write to / parse from delimited stream (protobuf 2.3 feature).
Run following command to compile and install the project.
$ cd compiler
$ ./autogen.sh
$ ./configure
$ make
$ make install (optional)
The compiler is genrated at src/protoc
.
Note:
You need autoconf
to compile from source code. If your system is not install autoconf, you can install it by brew:
$ brew install autoconf
If you system already install autoconf but linked, you can link it, here is an example:
$ brew install autoconf
Warning: autoconf-2.69 already installed, it's just not linked
$ brew link autoconf
Linking /usr/local/Cellar/autoconf/2.69... 28 symlinks created
./src/protoc --objc_out=. foo.proto
Drap protoc-ios.xcodeproj
to your Xcode project.
That's all.
- Booyah Inc (https://github.com/booyah/protobuf-objc)
- Cyrus Najmabadi (http://code.google.com/p/metasyntactic/wiki/ProtocolBuffers)