Michael Lehenbauer 5464d1d35f Remove some Firestore references to google3 and go/ links. (#188) 8 years ago
..
FrameworkMaker.xcodeproj dc91d4b03f Merge Firestore with Firebase for Firebase 4.3.0 (#186) 8 years ago
objc 5464d1d35f Remove some Firestore references to google3 and go/ links. (#188) 8 years ago
protos 5464d1d35f Remove some Firestore references to google3 and go/ links. (#188) 8 years ago
Podfile dc91d4b03f Merge Firestore with Firebase for Firebase 4.3.0 (#186) 8 years ago
README.md dc91d4b03f Merge Firestore with Firebase for Firebase 4.3.0 (#186) 8 years ago
build-protos.sh dc91d4b03f Merge Firestore with Firebase for Firebase 4.3.0 (#186) 8 years ago
strip-registry.py dc91d4b03f Merge Firestore with Firebase for Firebase 4.3.0 (#186) 8 years ago

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