xcode cloud: distribute apps through Firebase

Hi, In our current CI/CD environment, I can easily upload an IPA to Firebase so that we can distribute test versions of the app.

Now we are trying to move the CI/CD to Apple Xcode Cloud and I am trying to figure out how to upload my app to the Firebase Distribution system. Please advise ;-)

Kind regards, Wouter

Answered by Woutster in 788819022

https://medium.com/@wwessels_53999/configuring-xcode-cloud-60b92a9ac6f5

Additional information:

I have tried to install the Firebase CLI in my Xcode CLoud environment, using the following command in my ci_post_xcodebuild.sh script

curl -sL https://firebase.tools | bash

However, then I get an error:

sudo: a terminal is required to read the password

I also found a doc about Use the CLI with CI systems, but that starts with: "On a machine with a browser, install the Firebase CLI."

I have no browser on the Xcode Cloud machine ;-)

Can somebody please give me some pointers how to deploy my IPA to Firebase from within my Xcode Cloud environment?

Accepted Answer

https://medium.com/@wwessels_53999/configuring-xcode-cloud-60b92a9ac6f5

xcode cloud: distribute apps through Firebase
 
 
Q