Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"The private key for ... is not installed on this Mac" – distribution and provisioning profiles in Xcode

Tags:

xcode

ios

iphone

I've tried looking at the other answers for this but there's a lot of incomplete or conflicting information, but if you have a good link that would be great.

When I try to distribute my app I get this error:

1

I've tried creating a new distribution profile from Certificates, Identifiers & Profiles at developer.apple.com, but none of these seem to work.

I have a Time Machine backup from before I did a clean install of Mavericks to upgrade, and I also have a code saved to a text file in my Dropbox (I'm not sure if it's a private key – I doubt it) which looks like 'df9a79...' around thirty characters long.

I just can't seem to find the right link to guide me through the entire process of key creation, iTunes connect and developer.apple.com. I've done this before – I'm currently just trying to submit an update to the App Store.

My app update status is currently Waiting For Upload.

Here is my Keychain:

2

3

4

I've tried removing duplicates (e.g. those in the first screenshot), but that didn't seem to help. If you have any suggestions or links I'd love to hear them.

Thanks for your help.

like image 953
matthewpalmer Avatar asked Nov 16 '13 05:11

matthewpalmer


2 Answers

In your keychain, there are two keys named 'Matthew Palmer'. Those two entries for the same name can be conflicting. Try by removing those both and install it again.

like image 135
spaleja Avatar answered Oct 04 '22 02:10

spaleja


I hope you make a Distribution Provising Certificate at developer.apple.com.

Chose that profile there , if you are not, create that, first you need to create that certificate before proceeding.

like image 32
Parvendra Singh Avatar answered Oct 04 '22 01:10

Parvendra Singh