Paul Beusterien 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) hace 7 años
..
Backend 87a206e0c1 Functions Interop (#2113) hace 7 años
Example 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) hace 7 años
FirebaseFunctions 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) hace 7 años
CHANGELOG.md f08edbb85c Add a couple of new small Functions APIs. (#1434) hace 7 años
README.md d158e420c6 Add Development section to Functions README (#1230) hace 8 años

README.md

Cloud Functions for Firebase iOS SDK

Development

Follow the subsequent instructions to develop, debug, unit test, and integration test FirebaseFunctions:

$ git clone git@github.com:firebase/firebase-ios-sdk.git
$ cd firebase-ios-sdk/Functions/Example
$ pod update
$ open FirebaseFunctions.xcworkspace

Running Unit Tests

Choose the FirebaseFunctions_Tests scheme and press Command-u.

Running Integration Tests

Before running the integration tests, you'll need to start a backend emulator for them to talk to.

  1. Make sure you have npm installed.
  2. Run the backend startup script: Backend/start.sh It will use npm install to automatically download the libraries it needs to run the Cloud Functions Local Emulator. The first time you run it, it will ask for a projectId. You can put anything you like. It will be ignored.
  3. Create the workspace in Functions/Example with pod install.
  4. open FirebaseFunctions.xcworkspace
  5. Choose the FirebaseFunctions_IntegrationTests scheme and press Command-u.
  6. When you are finished, you can press any key to stop the backend.