protobuf-ios 2.3.2

protobuf-ios 2.3.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Ming Chen.



Introduction

Google proto buffer for iOS written in Objective-C

Supported Platform

  • iOS 4.0 and above
  • XCode 4 and above

Features

  • Support write to / parse from delimited stream (protobuf 2.3 feature).

How to use

Get the compiler

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

Usage

./src/protoc --objc_out=. foo.proto

Xcode integration

Integrate with source code

Drag protoc-ios.xcodeproj to your Xcode project.

That's all.

Contribution

Contributions are welcome!

If you would like to contribute this project, please feel free to fork and send pull request.

Credits

References