skip to Main Content

I always go with automatically manage signing when uploading builds to App Store Connect with Xcode and everything has worked great up until today.

After branching my project and adding push notifications when I try to upload a build I get these errors:
screenshot of the errors saying: Provisioning Profile failed qualification. Profile doesn't support Push Notifications and doesn't include the aps-environment entitlement

I’ve researched into this and looked at every single response on SO and elsewhere with no success.
For testing purposes, I even created a new empty project with no additional code and when I try to upload it, this is what I get:

Another screenshot from a new empty project. The error message says: Xcode couldn't find any iOS App Store provisioning profiles matching [app ID]

Things I’ve tried:

  • Deleting both the Apple Distribution and Apple Development certificates and generate them again
  • Clearing /Library/MobileDevice/Provisioning Profiles folder and manually downloading the profiles
  • Deleting Derived Data
  • Clearing the project
  • Disabling ‘automatically manage signing’ and enabling it again

With manual signing I get to upload the build but I can’t wrap my head around why the automatic option has stopped working. I’ve recently updated Xcode to version 13 and no other significant changes have occured.

What am I doing wrong?

2

Answers


  1. Same issues with both my app where I have developer role. Everything signed well with my own apps.
    I found simple solution: just build it on previous Xcode 12.1 and published successfully. Seems that it is Xcode 13 "feature"..

    Login or Signup to reply.
  2. According to this: https://developer.apple.com/forums/thread/688626#689590022

    You need to add the "Access to Cloud Managed Distribution Certificate" permission to your account in AppStore Connect.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search