Michel
Michel

Reputation: 11753

Distribution Profile requesting a Developer certificate

Using Xcode 9.1, after building an iOS app, I try to archive it. But I get the following error message:

Provisioning profile "MyAppProfile" doesn't include signing certificate "iPhone Developer: My Name (X1YZ2AB3CD)".

After looking closer, I see that MyAppProfile is a Distribution Provisioning Profile (this is what I want) and X1YZ2AB3CD matches a Developer certificate.But when building MyAppProfile (for App Store) I was provided with the choice of a unique Distribution certificate (No Developer certificate). So why do I get this message complaining about MyAppProfile not including a Developer certificate. I am kind of lost. Anyone can shed some light here?

In case I give up with manual signing, here is what I get when trying to upload to appStore:

Upvotes: 2

Views: 1253

Answers (3)

Ryan
Ryan

Reputation: 1

None of the advice anyone else has given has worked for me.

Finally, I just "unchecked" the "Automatically manage signing" box and then used the drop-downs from my Apple developer account to fill in the signing correctly as CLEARLY the automatic feature is flawed. Do yourself a favor and just don't use it!

Upvotes: 0

Michel
Michel

Reputation: 11753

I finally was able to upload.

Here is what I did: I enabled in-app-purchase in the list of Application Capabilities and disabled it right after. (Giving up in-app-purchase at least temporarily)

There is a lot I don't understand here, but I am just giving this info in case it may be useful for someone with similar problems.

Upvotes: 3

Ketan Parmar
Ketan Parmar

Reputation: 27428

Remove certificates from your keychain access which doesn't include private keys. I mean the certificates which does not have arrow(play button type) on left side of name.

and then from your xcode select your team from general and unable automatic code signing and then try!

You can refer this post or this post

Upvotes: 2

Related Questions