Why is my provisioning profile failing qualification?

I am ready to upload my app from Xcode to App Store Connect. I am using Xcode 11.50 to archive my application. Yesterday, I used Xcode 12 Beta to upload the app, which worked fine at first, but noticed that App Store Connect is not accepting binaries from Xcode 12 Beta.

I used Xcode 11.50 today and I keep getting this error while validating my app:


Provisioning profile failed qualification: Profile doesn't include the com.apple.application-identifier and com.apple.developer.aps-enviornment entitlements.

Provisioning profile failed qualification: Profile doesn't include the com.apple.application-identifier entitlement.

What exactly do these errors mean? How can I fix them?



Accepted Reply

I'm having the same problem as you. And in my Xcode project I do have the entitlements Capability added. Its been there since I started the project over a year ago. So there's definitely something else going on. Xcode 12 must have changed something in the project that is messing up using it with Xcode 11.5.


Replies

The com.apple.developer.aps-environment entitlement issue stems from not having the push notification entitlement in the entitlements file. You can add this by opening the project in Xcode, selecting the project in the Project Navigator, then selecting the "Signing & Capabilities" tab for your iOS Target. Once here, click the + button to add a new entitlement and select the "Push Notification" entitlement.

As far as the com.apple.application-identifier issue goes: Double check to make sure that the bundle identifier and the version numbers aren't placed in the wrong spots in the Info.plist file.
I'm having the same problem as you. And in my Xcode project I do have the entitlements Capability added. Its been there since I started the project over a year ago. So there's definitely something else going on. Xcode 12 must have changed something in the project that is messing up using it with Xcode 11.5.


I'm running into the same issue with Xcode 11.5 on Big Sur 11.0 Beta (20A4299v).

I've verified that have the Push Notifications capability and my bundle identifier, version number and build numbers are all correct.
Same errors. Only happened after downloading xcode 12 beta.
Same here. Some solution? All capabilities are added. Still have same problem. Provisioning profile failed qualification message when I tried to upload. They says "Profile doesn't include the com.apple.application-identifier and com.apple.developer.aps-environment entitlements."
Same here... but the Mac version of the app in the same Xcode project just worked fine. Only an issue with the iOS version of the app.
Same problem here... Running Big Sur and downloaded xcode 12. The problem seems to be marked as resolved, but I do not see a solution in the replies. Am I missing something? :)
Same here... I am running Big Sur and downloaded Xcode 12. Any solution yet?
We are experiencing the same issues on Big Sur after having installed Xcode 12 beta (but using 11.5 to compile and attempt to distribute)
Same problem here!
MacOS: Big Sure
XCode 12 beta error code: "An error occurred uploading to the App Store."
XCode 11.5 error code: "Profile doesn't include the com.apple.application-identifier and com.apple.developer.aps-environment entitlements."

Upload doesn't work!
Same error here. I installed Xcode 12 and now Xcode 11.5 can't finish build with fastlane
UPDATE!
  1. Install the "Transporter" app from the MacOS app store.

  2. From Xcode's organizer, select your archive and press "Distribute App"

  3. Instead of "Upload", select "Export" and proceed as usual.

  4. Drop the exported .ipa into the transporter and press "Deliver".

Unfortunately, it only works with this detour... I hope I was able to help someone with it.

  • Today, 26th february after having updated my iphone to the latest 15.3.1 and I had to download and use the beta version of XCode. Somehow a lot of things suddenly stopped working and I wasted hours and hours trying to make it work.

    It's probably not related but I could not distribute my App to testers and even when I could upload the new build, the installation always failed on testflight. The issue was related to missing provisioning profile. After wasting again hours and hours trying to find a solution, I tried to upload my app and to deliver it through Transporter as you said. And it works now lol *** I have no idea why it works by using Transporter... Thanks a lot

Add a Comment
@Aiiboo
There is the same Problem it dosen't work
@Jakob1601
i tested it with
Xcode 12 beta -> Worked
Xcode 11.5 -> not working
:/
@Aiiboo, you are right!! Archive with Xcode 12, select export and upload with Transporter. My app is processing now in TestFlight! Thanks!