|
|
6 năm trước cách đây | |
|---|---|---|
| .. | ||
| Example | f534516521 Update versions for Release 6.9.0 | 6 năm trước cách đây |
| Protos | f750f87f9f Add CMake support for FSTLocalSerializer (#3753) | 6 năm trước cách đây |
| Source | ae3310317c Allow overriding of the default failure handler (#3793) | 6 năm trước cách đây |
| Swift | 9b0d5a3b1a Add @DocumentId equivalent to Swift Codable (#3762) | 6 năm trước cách đây |
| core | 9ea5bd610b Log stream errors (#3828) | 6 năm trước cách đây |
| fuzzing | 0ea8d6dc20 Fix fuzz build (#3420) | 6 năm trước cách đây |
| third_party | aefd4323a2 Remove Objective-C immutable sets and maps (#3590) | 6 năm trước cách đây |
| CHANGELOG.md | a52356a87a Update CHANGELOG for Firestore v1.5.1 (#3820) | 6 năm trước cách đây |
| CMakeLists.txt | f750f87f9f Add CMake support for FSTLocalSerializer (#3753) | 6 năm trước cách đây |
| README.md | 9e0d8f4a4f Update required CocoaPods version in READMEs (#3339) | 6 năm trước cách đây |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | 8 năm trước cách đây |
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.