Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I reset or recreate iOS Distribution Signing Identity

Tags:

xcode

ios

xamarin

I'm trying to install a signed iOS Enterprise app and I'm getting an error on installing 'Unable to Download Application - “APP” could not be downloaded at this time'

The app seems to be downloaded properly, I thought it might be a provisioning profile error or something like that. The only thing I came across was a 'reset' button next to my iOS Distribution signing identity.

I came across the Apple docs here, https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW16 in the 'Resetting Certificates Using Xcode' section and tried the 'Reset' button but it doesn't seem to do anything. When I click 'Done' and come back into this screen I'm seeing the same reset button.

Has anyone else come across this? I've spent hours trying to figure this out to no avail.

Developer Account Signing Identities

like image 816
Richard Edwards Avatar asked Nov 19 '15 21:11

Richard Edwards


People also ask

How many iOS distribution certificates can I have?

There is a maximum limit of 3 iOS Distribution Certificates per account.

What is code signing identity in iOS?

Code signing your app assures users that it's from a known source and hasn't been modified since it was last signed. Before your app can integrate app services, be installed on a device, or be submitted to the App Store, it must be signed with a certificate issued by Apple.

What is iOS distribution profile?

June 28, 2022 03:34. A Distribution Provisioning Profile is a combination of your App ID and Distribution Certificates. It authorizes your app to use particular services (like Push Notifications) and ensures that your app is submitted by you. This is why Distribution Certificates are tied to a specific Mac.


1 Answers

Yeah, that sounds like what's going on with your install. I wouldn't trust the whatever you're using to reload your certs. Try it manually.

A few things to check:

  • Ensure that the certificate is installed on your machine.
  • Ensure that the device that you're installing the application on has been added to your list of devices.
  • Ensure that your provisioning profile contains your device from the list of devices.
  • Lastly ensure that the provisioning profile has been installed on your machine.

Rather than resetting your certificates using the GUI just crack open the terminal and do the following:

  • Go to: $~/Library/MobileDevice/Provisioning Profiles
  • Remove all certs: $rm -rf *
  • Reinstall your certs

I normally run into this issue. Sometimes the certs fail to update once I reinstall them so I just remove them all. Hope this helps.

like image 150
Fullmetal_Alchemist_Fan Avatar answered Nov 15 '22 04:11

Fullmetal_Alchemist_Fan