|
|
6 gadi atpakaļ | |
|---|---|---|
| .. | ||
| Example | 441d7eda8b Change id to NSArray<id> for IN queries (#4182) | 6 gadi atpakaļ |
| Protos | 046e2997ef Fix small issues in C++ serializer and port remaining tests (#4012) | 6 gadi atpakaļ |
| Source | 441d7eda8b Change id to NSArray<id> for IN queries (#4182) | 6 gadi atpakaļ |
| Swift | a621e59217 Merge 6.11.0 (#4134) | 6 gadi atpakaļ |
| core | 441d7eda8b Change id to NSArray<id> for IN queries (#4182) | 6 gadi atpakaļ |
| fuzzing | 2c53bb9139 C++ migration: use C++ serializer for communicating with the local store (#4116) | 6 gadi atpakaļ |
| third_party | 539ff07fd1 Avoid references to DocumentIDProtocol in Swift < 5.1 (#4092) | 6 gadi atpakaļ |
| CHANGELOG.md | 0f315d65dc Fix potential race during client initialization (#4091) | 6 gadi atpakaļ |
| CMakeLists.txt | f750f87f9f Add CMake support for FSTLocalSerializer (#3753) | 6 gadi atpakaļ |
| README.md | 9e0d8f4a4f Update required CocoaPods version in READMEs (#3339) | 6 gadi atpakaļ |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | 8 gadi atpakaļ |
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.