|
|
8 роки тому | |
|---|---|---|
| .. | ||
| FrameworkMaker.xcodeproj | 4acdbdbdf3 Revert "Fully qualify protoc-generated outputs (#626)" (#653) | 8 роки тому |
| nanopb | fd0b332f46 Downgrade nanopb from 0.4.0-dev to 0.3.8. | 8 роки тому |
| objc | 4acdbdbdf3 Revert "Fully qualify protoc-generated outputs (#626)" (#653) | 8 роки тому |
| protos | 9a71ce8e67 Import "well-known" protos (and generated nanopb files) | 8 роки тому |
| Podfile | bde743ed25 Release 4.3.0 (#327) | 8 роки тому |
| README.md | 11d28d80ff Add instructions for building nanopb protos | 8 роки тому |
| build-protos.sh | fd0b332f46 Downgrade nanopb from 0.4.0-dev to 0.3.8. | 8 роки тому |
| strip-registry.py | bde743ed25 Release 4.3.0 (#327) | 8 роки тому |
First, 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, tests and make 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: