rsgowman fe19fca0e5 Serialize and deserialize null (#783) 8 سال پیش
..
FrameworkMaker.xcodeproj 5f5f808258 Keep track of number of queries in the query cache (#776) 8 سال پیش
nanopb fe19fca0e5 Serialize and deserialize null (#783) 8 سال پیش
objc 5f5f808258 Keep track of number of queries in the query cache (#776) 8 سال پیش
protos fe19fca0e5 Serialize and deserialize null (#783) 8 سال پیش
CMakeLists.txt fe19fca0e5 Serialize and deserialize null (#783) 8 سال پیش
Podfile bde743ed25 Release 4.3.0 (#327) 8 سال پیش
README.md 11d28d80ff Add instructions for building nanopb protos 8 سال پیش
build-protos.sh fd0b332f46 Downgrade nanopb from 0.4.0-dev to 0.3.8. 8 سال پیش
strip-registry.py bde743ed25 Release 4.3.0 (#327) 8 سال پیش

README.md

Usage

First, build protobuf and nanopb

cd firebase-ios-sdk
mkdir -p build
cd build
cmake ..
make -j protobuf nanopb

Next, build the protos:

cd firebase-ios-sdk/Firestore/Protos
./build-protos.sh

Verify diffs, tests and make PR

Script Details

Get the protoc and the gRPC plugin. See here. The easiest way I found was to add pod '!ProtoCompiler-gRPCPlugin' to a Podfile and do pod update.

After running the protoc, shell commands run to fix up the generated code:

  • Flatten import paths for CocoaPods library build.
  • Remove unneeded extensionRegistry functions.
  • Remove non-buildable code from Annotations.pbobjc.*.