Xcode6 error: “No matching provisioning profiles f

2019-01-13 19:45发布

I'm trying to submit my iOS app in Xcode6. When I click Submit or Validate in the organizer, a window pops up that says:

Failed to locate or generate matching signing assets:

Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues:

No matching provisioning profiles found for "Applications/MyApp.app”

None of the valid provisioning profiles allowed the specified entitlements: application-identifier, beta-reports-active, keychain-access-groups.

I have created a distribution provisioning profile for this app in the member center and it appears in Xcode. I've looked around and have not found anything online that has told me how to fix this. Can anyone help? Thanks.

Andy

18条回答
叛逆
2楼-- · 2019-01-13 20:18

There seem to be many possible causes of this error.

In my case, my app was an Enterprise release and I was clicking "Validate" when I should have been heading straight to "Export".

I found this in the Apple docs:

Validate or Submit is not intended to be used with Development, Ad Hoc or Enterprise builds. Ad Hoc or Enterprise distributions should skip straight to Export.

Source: https://developer.apple.com/library/content/qa/qa1830/_index.html

查看更多
Emotional °昔
3楼-- · 2019-01-13 20:20

There's a couple possibilities for your issue, but the main causes is what I got from experience as well as other SO answers.

  1. Your certificate or profile is outdated, in which case you have to go and regenerate your profiles again. I had this problem before, but Apple has described (partially) this issue.
  2. You haven't set your profile in the Build Settings/Code Signing area, along with the appropriate certificates. Verify your Team in General/Identity and ensure that your profile is properly set.

    From Xcode 5: Code signing entitlement errors (The image is a bit outdated, but its the same as Xcode 6): Build Settings Code Signing section

  3. You are using a beta version of Xcode.
  4. @jaytrixz states: "I just removed Entitlements.plist in Code Signing Entitlements under Build Settings" which could possibly work. Be sure that your provisioning profiles are configured as well.
查看更多
你好瞎i
4楼-- · 2019-01-13 20:21

It's the year 2017, and the provisions are still not just working. I had to put them on manual mode because automatic didn't worked after struggling half an hour. I have no idea what are those entitlements, i have no entitlements file.

查看更多
何必那么认真
5楼-- · 2019-01-13 20:23

If you are sure you have valid certificate and provisioning profile, then you may need to do the following:

I would suggest people to refresh the link between xCode and developer account by doing the following:

Go to Xcode -> Preferences -> Account -> View details -> (Refresh icon)

Otherwise you may not be able to see the provisioning profile as an option in the build settings (You may only see old profiles)

A lot of times it gives me connection error, you may need to retry.

Do this refresh every time you edit the provisioning profile or certificate online on apple developer member center

查看更多
爷的心禁止访问
6楼-- · 2019-01-13 20:28

I ran into this issue using App Groups. To resolve, I had to log into developer.apple.com and reassign the App Group ID to my App ID.

查看更多
Root(大扎)
7楼-- · 2019-01-13 20:29

Another possible cause for this message is if you accidentally did remove the 'target inclusion checkbox' for the entitlement file – in that case the error message is slightly misleading...

查看更多
登录 后发表回答