Gil d9c3e6a15f Fix the build on Windows (#4384) 6 лет назад
..
FrameworkMaker.xcodeproj 145c111d1a Minimum osx to 10.11 (#2680) 7 лет назад
cpp 12fb9f61d2 Upgrade gRPC to 1.24.3; upgrade protobuf to 3.9.2 (#4252) 6 лет назад
lib d0686d2f63 C++ migration: implement pretty-printing of Nanopb-generated messages (#4184) 6 лет назад
nanopb d0686d2f63 C++ migration: implement pretty-printing of Nanopb-generated messages (#4184) 6 лет назад
protos 046e2997ef Fix small issues in C++ serializer and port remaining tests (#4012) 6 лет назад
CMakeLists.txt d9c3e6a15f Fix the build on Windows (#4384) 6 лет назад
Podfile bde743ed25 Release 4.3.0 (#327) 8 лет назад
README.md f98239755a Fix building of objc protos (#1858) 7 лет назад
build_protos.py d0686d2f63 C++ migration: implement pretty-printing of Nanopb-generated messages (#4184) 6 лет назад
nanopb_cpp_generator.py d0686d2f63 C++ migration: implement pretty-printing of Nanopb-generated messages (#4184) 6 лет назад

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.*.