|
|
%!s(int64=5) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| Backend | 784eae8fa5 Update Functions emulator to fix CI regression (#7089) | %!s(int64=5) %!d(string=hai) anos |
| Example | 90d3600c56 Implement unified emulator settings API proposal (#5916) | %!s(int64=5) %!d(string=hai) anos |
| FirebaseFunctions | 90d3600c56 Implement unified emulator settings API proposal (#5916) | %!s(int64=5) %!d(string=hai) anos |
| CHANGELOG.md | 64bfd47adc Update functions changelog (#7009) | %!s(int64=5) %!d(string=hai) anos |
| README.md | 45021c160b Add custom domain support to callable functions (#6787) | %!s(int64=5) %!d(string=hai) anos |
Follow the subsequent instructions to develop, debug, unit test, and integration test FirebaseFunctions:
pod gen FirebaseFunctions.podspec --local-sources=./open gen/FirebaseFunctions/FirebaseFunctions.xcworkspaceOR these two commands can be combined with
pod gen FirebaseFunctions.podspec --auto-open --gen-directory="gen" --cleanYou're now in an Xcode workspace generate for building, debugging and testing the FirebaseFunctions CocoaPod.
Choose the FirebaseFunctions-Unit-unit scheme and press Command-u.
Before running the integration tests, you'll need to start a backend emulator for them to talk to.
npm installed.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.pod install.open FirebaseFunctions.xcworkspace