Konstantin Varlamov c4a8681426 Revert `Error` back to an unscoped enumeration (#5214) пре 6 година
..
Example cb80ee63eb Log the total pass and skip count after running all spec tests (#5202) пре 6 година
Protos a568a96f7e Add iOS build support to the CMake build (#5052) пре 6 година
Source e404054a9f Refactor and clean up the CMake build ahead of CMake/iOS support (#5051) пре 6 година
Swift 2c3585f1c8 Drop Firestore's Podfile dependency on Firebase (#4841) пре 6 година
core c4a8681426 Revert `Error` back to an unscoped enumeration (#5214) пре 6 година
fuzzing 2e7122cadd Fix fuzz build (#5069) пре 6 година
third_party c17e1dfad8 Permanently fix formatting presubmit warnings in google3 (#4527) пре 6 година
CHANGELOG.md 54a1db1dc7 Explicitly state Firestore's dependency on UIKit (#5077) пре 6 година
CMakeLists.txt 2a8d069b77 Run integration tests from CMake on mac (#4276) пре 6 година
README.md 62ef244cde C++ migration: remove the dependency on Objective-C `Protobuf` library (#4189) пре 6 година
test.sh 5930ad2fee Factor out a universal build script (#884) пре 8 година

README.md

Usage

  • Install prerequisite software
  • 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

Running Integration Tests

  • Set up a GoogleServices-Info.plist file in Firestore/Example/App.
  • In Xcode select the Firestore_IntegrationTests_iOS scheme
  • ⌘-u to build and run the integration tests

Running Integration Tests - using the Firestore Emulator

Note: this does not give full coverage, but is much faster than above. b/hotlists/1578399 tracks outstanding issues.

  • Ensure that 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

Building Protos

Typically you should not need to worrying about regenerating the C++ files from the .proto files. If you do, see instructions at Protos/README.md.