Problem uploading an app to iTunes Connect

256 Views Asked by At

After experimenting a bit with SwiftUI making a new iOS app; I just got to the point where I want to put it on TestFlight to start testing with more people.

But this is where I am hitting a new problem. After archiving, here is what I get when trying to upload the archive to iTunes Connect:

Provisioning profile failed qualification

Profile doesn't match the entitlements file's values for the application-identifier and keychain-access-groups entitlements.

As far as I can tell, I am not doing anything more or less than I always did in the past, when uploading a new app.

Here is what I can say about the app:

  • It is using SwiftUI. (This is the first time I upload a SwiftUI app, if that ever matters here)
  • It is using Core Data.
  • It is using MapKit.
  • It is using location triggered notifications.

For the environment:

  • I just upgraded Xcode to version 11.6 (11E708)
  • I am using Mac OS Catalina version 10.15.6.

Is there anyone who has faced the same situation before?

Or is there something to check knowing the information above?

2

There are 2 best solutions below

4
On

I'm having the same problem since around July. Here is what worked for me.

  1. Archive the project on Xcode11,
  2. Open the Organizer window on Xcode12 Beta
  3. And as usual, you can try uploading from there,

BUT in my case, Here, I faced another issue saying failed to 'APP STORE connect operation error'. If you face this same error like this, then here are other steps you should take.

  1. Download 'transporter' from the Mac app store.
  2. on the Xcode 12 Beta organizer window, instead of uploading the app, click export the app.
  3. Then open the transporter, and add the file you just exported, then you will see 'Deliver' button. After clicking it , in my case, the app was uploaded in a couple of minutes.

Hope it works for you too.

Xcode11: Version 11.5 (for archive)

Xcode12: Version 12.0 beta (for exporting a project on organizer)

My Mac: macOS Big Sur Version 11.0 Beta

0
On

The problem is because you need to check the capabilities. The capabilities in the project needs to be equal to which you configurated in the section of "Certificates, Identifiers & Profiles" in the app. In this question you can find more info