|
|
6 tahun lalu | |
|---|---|---|
| .. | ||
| Example | ffdf9fa29a Running Pod Deintegrate | 6 tahun lalu |
| Protos | 1297e7797b Add Last Limbo Free Snapshot Version to Proto (#4469) | 6 tahun lalu |
| Source | e7172d5f09 Post-migration cleanups (#4451) | 6 tahun lalu |
| Swift | e7172d5f09 Post-migration cleanups (#4451) | 6 tahun lalu |
| core | e7172d5f09 Post-migration cleanups (#4451) | 6 tahun lalu |
| fuzzing | 04177614d0 Fix fuzz build (#4192) | 6 tahun lalu |
| third_party | 1953cc59a4 Integrate with Abseil via CocoaPods (#4097) | 6 tahun lalu |
| CHANGELOG.md | 49e48a0dfc Post Firestore 1.8.1 patch merge to master (#4366) | 6 tahun lalu |
| CMakeLists.txt | 2a8d069b77 Run integration tests from CMake on mac (#4276) | 6 tahun lalu |
| README.md | 62ef244cde C++ migration: remove the dependency on Objective-C `Protobuf` library (#4189) | 6 tahun lalu |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | 8 tahun lalu |
Set up a workspace via CocoaPods
$ cd Firestore/Example
$ pod update
$ open Firestore.xcworkspace
Select the Firestore_Tests_iOS scheme
⌘-u to build and run the unit tests
GoogleServices-Info.plist
file in Firestore/Example/App.Note: this does not give full coverage, but is much faster than above. b/hotlists/1578399 tracks outstanding issues.
GoogleServices-Info.plist is back in its default state (git
checkout Firestore/Example/App/GoogleServices-Info.plist).Install the Firebase CLI. Essentially:
npm install -g firebase-tools
Install the Firestore emulator. Essentially:
firebase setup:emulators:firestore
Run the emulator
firebase serve --only firestore
In Xcode select the Firestore_IntegrationTests_iOS scheme
⌘-u to build and run the integration tests
Typically you should not need to worrying about regenerating the C++ files from the .proto files. If you do, see instructions at Protos/README.md.