|
|
6 ani în urmă | |
|---|---|---|
| .. | ||
| Example | fec2260a28 Update versions for Release 6.3.0 | 6 ani în urmă |
| Protos | 53d3ca199a CMake: Upgrade nanopb to 0.3.9.2 (#2985) | 7 ani în urmă |
| Source | 34fcd5af6b Migrate FSTTimestampValue to FSTDelegateValue (#3170) | 6 ani în urmă |
| Swift | 840ab65a69 Expose clearPersistence() publicly (#3026) | 6 ani în urmă |
| core | e407c0250c update changelog and fix a format issue in firestore (#3175) | 6 ani în urmă |
| fuzzing | 26e358ffc2 Make fuzzing compile (#2693) | 7 ani în urmă |
| third_party | f413995c77 Disable warnings in the Abseil build (#3164) | 6 ani în urmă |
| CHANGELOG.md | 6943b18fba Update CHANGELOG for Firestore v1.4.0 (#3169) | 6 ani în urmă |
| CMakeLists.txt | 762b0b5500 Reimplement util::MakeString(NSString*) (#1673) | 7 ani în urmă |
| README.md | 547ed27027 Add support for running Firestore integration tests against the emulator (#2922) | 7 ani în urmă |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | 8 ani în urmă |
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.