Install

Tools

brew install automake
brew install libtool

protobuf

brew tap homebrew/versions
brew install homebrew/versions/protobuf
brew install homebrew/versions/protobuf260
ln -s /usr/local/Cellar/protobuf260/2.6.0/bin/protoc /usr/local/bin

protobuf-objc

git clone https://github.com/alexeyxo/protobuf-objc.git
cd protobuf-objc
./scripts/build.sh

protoc

protoc --plugin=/usr/local/bin/protoc-gen-objc person.proto --objc_out="./"

demo