Denver Coneybeare c0824847a4 Firestore: Remove unused annotations.proto imports (#10436) 3 ani în urmă
..
FrameworkMaker.xcodeproj 6e0fda7a24 [Firebase 10] Update minimum supported versions across Firebase (#10233) 3 ani în urmă
cpp c0824847a4 Firestore: Remove unused annotations.proto imports (#10436) 3 ani în urmă
lib 34b729d3ed Fix name collision with "result" in pretty printing logic in generated proto code. (#10169) 3 ani în urmă
nanopb c0824847a4 Firestore: Remove unused annotations.proto imports (#10436) 3 ani în urmă
protos c0824847a4 Firestore: Remove unused annotations.proto imports (#10436) 3 ani în urmă
CMakeLists.txt 44a4c7cb0f Add protos for COUNT (#10175) 3 ani în urmă
Podfile bde743ed25 Release 4.3.0 (#327) 8 ani în urmă
README.md 3d573f9714 Update Firestore sources for nanopb 0.3.9.5 (#5481) 6 ani în urmă
build_protos.py bffb108542 Fix cmake build for macOS 12.3 where `python` no longer exists. (#9477) 4 ani în urmă
nanopb_cpp_generator.py a7ab2ca184 the the typos (#9726) 3 ani în urmă

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  # the root of this repo, not Firestore/Protos
mkdir -p build
cd build
cmake ..
make -j generate_protos

Verify diffs, make sure tests still pass, and create a PR.

Updating to a new nanopb version:

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