Xcode couldn t find any iOS App Store provisioning profiles matching bundle ID

0 votes

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?


 

Nov 30, 2022 in Mobile Development by gaurav
• 25,250 points
5,914 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Free provisioning/testing on your device:

• From within Xcode 7.x or higher (Mac only), navigate to “Xcode—->Preferences—->Accounts.” Hit the '+' icon below left to add your Apple ID*. After you add your account, it will show within the main account window on the right.

• Select your account, hit the “View Details” button and wait (be patient) for them to load.

• Now create the 'signing identity' used to create a provisioning profile used for device testing - Hit the “Create” button next to the 'iOS development' label. When completed, hit ‘Done’. If the create button is dimmed, continue waiting for the process to complete. If you instead see a 'Reset' button, stop...there are other factors outside this process that need to be sorted first.

• Connect your device (cable only, not wireless) and select it as build destination via the 'active scheme' dropdown to the right of the play and stop icons.

• In target's 'General' tab/settings:

• a. Set app identifier you want for your free profile - note this must be unique, meaning if it is already in use, you can expect an alert warning is it is already in use and you should enter a different string. If you expect to make this app for store distribution later, you will either need to change again, then, or make a plan now that includes a naming scheme.

• b. Set team id as your apple id

• c. Hit 'Fix Issue' button below the provisioning profile warning

- You may have to ‘Fix Issue' more than once - keep at it so Xcode can step thru them as needed.

• Run your app with your device selected.**
answered Dec 13, 2022 by gaurav
• 25,250 points

edited Mar 5, 2025
0 votes

Hi I had the same issue also on Xcode 15, lost about 3 hours on it. How I got around it is use the 'Custom' option instead when performing the Upload to App Store/Testflight. The Custom option provides the ability to pick the appropriate provisioning profile/cert, similar to previously Xcode versions.

answered Oct 26, 2023</