Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Store Connect Upload Error "You haven't been given access to cloud-managed distribution certificates"

Uploading an iOS app to App Store Connect with Xcode (Automatically manage signing) and received this error:

Screenshot of Xcode error dialog

The following errors occurred while locating and generating signing assets. ...

Communication with Apple failed. You haven't been given access to cloud-managed distribution certificates. Please contact your team's Account Holder or an Admin to give you access. If you need further assistance, contact Apple Developer Program Support at https://developer.apple.com/support

I have checked:

  • the cert is installed and valid
  • I have access to Certificates, Identifiers & Profiles
like image 515
Ric Santos Avatar asked Oct 18 '21 01:10

Ric Santos


3 Answers

If you have the Admin rights, you can enable this for anyone with Developer role if you

  1. Go to App Store Connect
  2. Select the "Users and Access" tab
  3. Select the right person and under Additional Resources, check both
  • Access to Certificates, Identifiers & Profiles and
  • Access to Cloud Managed Distribution Certificate.

AdditionalResources

If you don't have the Admin rights, you have to ask someone from your organization with Admin rights to do this for you.

like image 154
Michal Šrůtek Avatar answered Sep 28 '22 03:09

Michal Šrůtek


the cert is installed and valid

That doesn't matter. New in Xcode 13, if you choose Automatic signing, Apple tries to do cloud-based signing; it doesn't even see the certificate that's on your computer.

But you do not have the cloud-based signing privilege, so it fails.

You have two choices:

  • Get the privilege. It is really worth it, because cloud-based signing is great! It allows you to distribute from an archive to App Store Connect without having any distribution identity or distribution certificate at all. This totally solves the problem that there's only one distribution certificate at a time.

  • Switch to manual signing. Now the distribution certificate on your computer will be used. You'll need explicit access to the distribution profile too, obviously; the whole export resigning will be manual. That might be simplest if you're in a hurry.

like image 30
matt Avatar answered Sep 25 '22 03:09

matt


I haved this error, because new conditions must be accepted on app store connect : enter image description here

like image 30
Benoit Canonne Avatar answered Sep 26 '22 03:09

Benoit Canonne