|
|
před 8 roky | |
|---|---|---|
| .. | ||
| FrameworkMaker.xcodeproj | 09e4eddd82 Rebuild proto artifacts from existing sources and update README.md instructions. (#1058) | před 8 roky |
| cpp | 6dfc142888 Adjust serializer test to verify via libprotobuf. (#1039) | před 8 roky |
| nanopb | 6f2ef7d389 Update protos. (#1075) | před 8 roky |
| objc | 6f2ef7d389 Update protos. (#1075) | před 8 roky |
| protos | 6f2ef7d389 Update protos. (#1075) | před 8 roky |
| CMakeLists.txt | 6dfc142888 Adjust serializer test to verify via libprotobuf. (#1039) | před 8 roky |
| Podfile | bde743ed25 Release 4.3.0 (#327) | před 8 roky |
| README.md | 09e4eddd82 Rebuild proto artifacts from existing sources and update README.md instructions. (#1058) | před 8 roky |
| build-protos.sh | 6dfc142888 Adjust serializer test to verify via libprotobuf. (#1039) | před 8 roky |
| strip-registry.py | bde743ed25 Release 4.3.0 (#327) | před 8 roky |
First, make sure you have necessary prereqs for building:
brew install automake libtool protobuf
Take a nap while that completes. Then, build protobuf and nanopb:
cd firebase-ios-sdk
mkdir -p build
cd build
cmake ..
make -j protobuf nanopb
Next, build the protos:
cd firebase-ios-sdk/Firestore/Protos
./build-protos.sh
Verify diffs (you'll likely need to re-add copyright notices, etc.), 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: