|
|
пре 6 година | |
|---|---|---|
| .. | ||
| Example | bac26882e0 Update versions for Release 6.4.0 | пре 6 година |
| Protos | 53d3ca199a CMake: Upgrade nanopb to 0.3.9.2 (#2985) | пре 7 година |
| Source | ffdc328732 Migrate FSTDocumentState to C++ DocumentState (#3225) | пре 6 година |
| Swift | d6af8615e2 Fix token fetch not invoking callback for unchanged token (#3251) | пре 6 година |
| core | ddd3f171f6 Add a vector of pointers type (#3249) | пре 6 година |
| fuzzing | 26e358ffc2 Make fuzzing compile (#2693) | пре 7 година |
| third_party | 10752cd68c Finish migration of FSTFieldValue to C++ FieldValue (#3178) | пре 6 година |
| CHANGELOG.md | 26ceb4c403 Update CHANGELOG for Firestore v1.4.1 (#3256) | пре 6 година |
| CMakeLists.txt | 10752cd68c Finish migration of FSTFieldValue to C++ FieldValue (#3178) | пре 6 година |
| README.md | 547ed27027 Add support for running Firestore integration tests against the emulator (#2922) | пре 7 година |
| 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.