rsgowman f98239755a Fix building of objc protos (#1858) 7 years ago
..
FrameworkMaker.xcodeproj 09e4eddd82 Rebuild proto artifacts from existing sources and update README.md instructions. (#1058) 8 years ago
cpp bb045a5b90 Create process to build proto sources (#1704) 7 years ago
nanopb e3531eb3c8 Always use the bytes type in nanopb instead of string (#1790) 7 years ago
objc f98239755a Fix building of objc protos (#1858) 7 years ago
protos 13d5c9ebae Enable malloc support in nanopb and mark up dynamic fields (#1788) 7 years ago
CMakeLists.txt f98239755a Fix building of objc protos (#1858) 7 years ago
Podfile bde743ed25 Release 4.3.0 (#327) 8 years ago
README.md f98239755a Fix building of objc protos (#1858) 7 years ago
build_protos.py f999fffbb6 fix common typo (#1833) 7 years ago
nanopb_cpp_generator.py e3531eb3c8 Always use the bytes type in nanopb instead of string (#1790) 7 years ago

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