(iOS) Deploy to Firebase App Distribution
DescriptionClick to copy link
Build and distribute your app to testers via Firebase App Distribution.
PrerequisitesClick to copy link
- An existing Firebase project where your exact bundle ID is registered. Follow the Firebase documentation for details.
- Obtain a token from Firebase by running firebase
login:cilocally. See the Firebase CLI docs for more details. - Add this token as a Secret to your Bitrise project with the name FIREBASE_TOKEN.
- Get your Firebase App ID from your project's General Settings page and pass this value as an input variable to the [BETA] Firebase App Distribution Step.
- You have code signing set up. See iOS code signing for more details.
InstructionsClick to copy link
-
Add the Xcode Archive & Export for iOS Step and set the required input variables, such as Scheme, Distribution method and the desired code signing method.
-
Add the [BETA] Firebase App Distribution Step and set the following input variables:
- Firebase token: use the secret env var previously defined: $FIREBASE_TOKEN.
- Firebase App ID: see the Prerequisites section above for details.
- Optionally, you can define test groups or individual testers in the Step input variables.
bitrise.ymlClick to copy link
- xcode-archive@6:
inputs:
- distribution_method: development
- scheme: # your scheme goes here
- automatic_code_signing: api-key
- firebase-app-distribution@0:
inputs:
- firebase_token: $FIREBASE_TOKEN
- app: # your app ID from Firebase
- testers: [email protected] # optional
- groups: qa-team #optional