2

I have an Azure pipeline that builds iOS application. I am looking for a way to deploy the .ipa file to Firebase App distribution. I couldn't find any document or reference that provides the steps to do that. I saw few articles that explains we could publish to Firebase app distribution using PowerShell. Is there a reference azure pipeline yaml that I could refer? I am pretty new to Azure DevOps pipeline and can't get past this step.

1

1 Answer 1

6

I managed to install Firebase and distribute the app IPA to Firebase app distribution. In case, if anyone is looking for an answer:

# Install Firebase tools - task: CmdLine@2 displayName: 'Install Firebase Tools' inputs: script: 'curl -sL firebase.tools | bash' workingDirectory: '$(Agent.ToolsDirectory)' - task: CmdLine@2 displayName: 'Deploy IPA to Firebase' inputs: script: | firebase appdistribution:distribute *.ipa \ --app "$(appId)" \ --token "$(FIREBASE_TOKEN)" \ --release-notes "$BUILD_SOURCEVERSIONMESSAGE" workingDirectory: '$(agent.buildDirectory)/output/$(sdk)/${{ parameters.configuration }}' 
Sign up to request clarification or add additional context in comments.

2 Comments

Hey @alexander still I’m getting errror /Users/runner/work/_temp/8fd067be-b678-455c-b30b-e1f33632cc0e.sh: line 1: FIREBASE_TOKEN: command not found Error: Failed to authenticate, have you run firebase login?
have you tried calling the login command first: npx firebase login:ci --token $(FirebaseToken)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.