|
|
há 6 anos atrás | |
|---|---|---|
| .. | ||
| Example | bcd8042ce4 reproduce | há 6 anos atrás |
| Protos | 53d3ca199a CMake: Upgrade nanopb to 0.3.9.2 (#2985) | há 6 anos atrás |
| Source | bcd8042ce4 reproduce | há 6 anos atrás |
| Swift | 4a8769bc0d Fix warnings in CodableIntegrationTests.swift (#3357) | há 6 anos atrás |
| core | bcd8042ce4 reproduce | há 6 anos atrás |
| fuzzing | 0ea8d6dc20 Fix fuzz build (#3420) | há 6 anos atrás |
| third_party | 10752cd68c Finish migration of FSTFieldValue to C++ FieldValue (#3178) | há 6 anos atrás |
| CHANGELOG.md | 9efd84392b Fix preconditions in transactions (#3429) | há 6 anos atrás |
| CMakeLists.txt | 10752cd68c Finish migration of FSTFieldValue to C++ FieldValue (#3178) | há 6 anos atrás |
| README.md | 9e0d8f4a4f Update required CocoaPods version in READMEs (#3339) | há 6 anos atrás |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | há 8 anos atrás |
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.