|
|
7 anni fa | |
|---|---|---|
| .. | ||
| FrameworkMaker.xcodeproj | 09e4eddd82 Rebuild proto artifacts from existing sources and update README.md instructions. (#1058) | 8 anni fa |
| cpp | 6af931d4e8 Migrate Firestore to the v1 protocol (#2200) | 7 anni fa |
| nanopb | 6af931d4e8 Migrate Firestore to the v1 protocol (#2200) | 7 anni fa |
| objc | 6af931d4e8 Migrate Firestore to the v1 protocol (#2200) | 7 anni fa |
| protos | 6af931d4e8 Migrate Firestore to the v1 protocol (#2200) | 7 anni fa |
| CMakeLists.txt | 6af931d4e8 Migrate Firestore to the v1 protocol (#2200) | 7 anni fa |
| Podfile | bde743ed25 Release 4.3.0 (#327) | 8 anni fa |
| README.md | f98239755a Fix building of objc protos (#1858) | 7 anni fa |
| build_protos.py | 8b1efabd82 gRPC: replace Objective-C implementation with the new C++ implementation (#2068) | 7 anni fa |
| nanopb_cpp_generator.py | e3531eb3c8 Always use the bytes type in nanopb instead of string (#1790) | 7 anni fa |
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.
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: