Step by step process for setting up iOS build

Hi there,

I am having a heck of a time getting cloud build to work with iOS. I just keep getting the error:

“Failed to update credentials! undefined”.

No doubt it’s because I haven’t generated one of the crazy key things correctly on the apple website, but the help text on the setup screen isn’t enough to help me sort out what I need to do.

Is there a step by step document or video anyone knows about?

I’ve generated so many keys and profiles and certs and and p12 files that I am about to lose what little hair I have left.

Thanks for any help.

I’m struggling with this as well. Could something be broken on the Unity Cloud Build end?

Same problem here. I was suspecting it has something to do with a wildcard mobile provisioning file, but couldn’t find a solution to this problem.

The problem seems to be that the API route /credentials/signing/ios returns an error 500 (internal server error).

Anybody making any progress here? I’m getting the same error and don’t think it has to do with a wildcard provisioning profile. Anybody from Unity Support can you chime in? I’ve nearly lost all the time I would have saved using Unity Cloud Build trying to figure this out. Thank you.

OK I figured out a solution. Don’t export your p12 file from keychain access as it says in the unity docs. Instead

  • open xcode
  • go to Preference (cmd+“,”)
  • click Accounts tab
  • select your team in the bottom right box
  • Click the View Details button
  • Select your “iOS Distribution Signing Identity” in the top window
  • Right click and select “Export”
  • This will prompt you for a password for your p12 file
  • Use this generated p12 file when setting up your credentials
1 Like

Absolute life saver, this just worked first time, been scratching my head on this for the past week as I was getting no errors, it would just hang there and not give me any feedback, this different way of doing your p12 sorts it straight away :slight_smile:

In my experience you can perfectly export the distribution certficiate (the p12 file) from your local keychain, as long as you make sure that the provisioning profile is based on the same distribution certificate. Because when you export the provisioning profile frmo the apple dev website you have to select which distr profile it matches with.

(just posting this here because it came up first on google for a problem I had :stuck_out_tongue: )