Gil bff62bd0c9 Isolate Firestore nanopb messages in C++ namespaces (#2046) пре 7 година
..
FrameworkMaker.xcodeproj 09e4eddd82 Rebuild proto artifacts from existing sources and update README.md instructions. (#1058) пре 8 година
cpp 91297fdec0 Update Firestore Generated Protos (#1972) пре 7 година
nanopb bff62bd0c9 Isolate Firestore nanopb messages in C++ namespaces (#2046) пре 7 година
objc ea567dca47 Revert "gRPC: replace Objective-C implementation with the new C++ implementation (#1968)" (#2030) пре 7 година
protos e219c93193 Adding unknownDocument (#1948) пре 7 година
CMakeLists.txt bff62bd0c9 Isolate Firestore nanopb messages in C++ namespaces (#2046) пре 7 година
Podfile bde743ed25 Release 4.3.0 (#327) пре 8 година
README.md f98239755a Fix building of objc protos (#1858) пре 7 година
build_protos.py bff62bd0c9 Isolate Firestore nanopb messages in C++ namespaces (#2046) пре 7 година
nanopb_cpp_generator.py e3531eb3c8 Always use the bytes type in nanopb instead of string (#1790) пре 7 година

README.md

Usage

First, make sure you have necessary prereqs for building:

brew install automake libtool protobuf golang

Take a nap while that completes. Then, build the protos:

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

Verify diffs, make sure tests still pass, and create a 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.*.