Gil 4fbc96904f Use fully qualified imports in Firestore (#467) 8 vuotta sitten
..
FrameworkMaker.xcodeproj bde743ed25 Release 4.3.0 (#327) 8 vuotta sitten
objc 4fbc96904f Use fully qualified imports in Firestore (#467) 8 vuotta sitten
protos bde743ed25 Release 4.3.0 (#327) 8 vuotta sitten
Podfile bde743ed25 Release 4.3.0 (#327) 8 vuotta sitten
README.md bde743ed25 Release 4.3.0 (#327) 8 vuotta sitten
build-protos.sh bde743ed25 Release 4.3.0 (#327) 8 vuotta sitten
strip-registry.py bde743ed25 Release 4.3.0 (#327) 8 vuotta sitten

README.md

Usage

cd firebase-ios-sdk/Firestore/Protos
./build-protos.sh

Verify diffs, tests and make 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.*.