|
|
пре 6 година | |
|---|---|---|
| .. | ||
| Example | 38d9643a00 Disallow empty document fields (#4229) | пре 6 година |
| Protos | 046e2997ef Fix small issues in C++ serializer and port remaining tests (#4012) | пре 6 година |
| Source | 251a70f26a Make IN queries publicly available (#4174) | пре 6 година |
| Swift | 251a70f26a Make IN queries publicly available (#4174) | пре 6 година |
| core | 38d9643a00 Disallow empty document fields (#4229) | пре 6 година |
| fuzzing | 04177614d0 Fix fuzz build (#4192) | пре 6 година |
| third_party | 539ff07fd1 Avoid references to DocumentIDProtocol in Swift < 5.1 (#4092) | пре 6 година |
| CHANGELOG.md | c93b71d57a Update CHANGELOG for Firestore v1.7.0 (#4195) | пре 6 година |
| CMakeLists.txt | f750f87f9f Add CMake support for FSTLocalSerializer (#3753) | пре 6 година |
| README.md | 9e0d8f4a4f Update required CocoaPods version in READMEs (#3339) | пре 6 година |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | пре 8 година |
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 Objective-C files from the .proto files. If you do, see instructions at Protos/README.md.