|
|
6 anni fa | |
|---|---|---|
| .. | ||
| Example | b2f963741f [4/4] Port spec tests for limitToLast (#4512) | 6 anni fa |
| Protos | d9c3e6a15f Fix the build on Windows (#4384) | 6 anni fa |
| Source | 4a9525ea29 Address comments | 6 anni fa |
| Swift | 9a58b03436 Swift amendment and keep lines below 80 | 6 anni fa |
| core | b2f963741f [4/4] Port spec tests for limitToLast (#4512) | 6 anni fa |
| fuzzing | 04177614d0 Fix fuzz build (#4192) | 6 anni fa |
| third_party | 1953cc59a4 Integrate with Abseil via CocoaPods (#4097) | 6 anni fa |
| CHANGELOG.md | 49e48a0dfc Post Firestore 1.8.1 patch merge to master (#4366) | 6 anni fa |
| CMakeLists.txt | 2a8d069b77 Run integration tests from CMake on mac (#4276) | 6 anni fa |
| README.md | 62ef244cde C++ migration: remove the dependency on Objective-C `Protobuf` library (#4189) | 6 anni fa |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | 8 anni fa |
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.