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:11

In my entitlement file for Health kit there was development key. I removed that and my problem resolved.

I hope this answer could help :)

查看更多
男人必须洒脱
3楼-- · 2019-01-13 20:12

If you have only development provisionning profile, just create distribution also

查看更多
我命由我不由天
4楼-- · 2019-01-13 20:14

There are a lot of answers here, some have worked for me in the past, but not this time. I'd even created a new provisioning profile but that still did not help. Based on the "None of the valid provisioning profiles allowed the specified entitlements" part of the error I tried the following on a hunch and it worked for me:

1. add and remove a particular Capability

Go to Targets > Capabilities, and turn one on and then off.
I doubt it matters which you choose, I added "Push Notifications" (which I don't need for my app), once it was "ON", I changed it back to "OFF"

enter image description here

2. Archive again

I am now successfully uploading my app to the store.

查看更多
别忘想泡老子
5楼-- · 2019-01-13 20:14

After trying every possible fix in the world, I ended up just adding this to the entitlements file:

<key>beta-reports-active</key>
<true/>

Find the right entitlements file by looking in Targets > Build Settings > Code Signing > Code Signing Entitlements.

Maybe it's something to do with this Apple doc, although I couldn't follow the instructions fully as certain things were missing in XCode 7 (e.g. the refresh icon in Preferences > Accounts).

查看更多
ゆ 、 Hurt°
6楼-- · 2019-01-13 20:15

As jaytrixz, wrote in the comments...

"I just removed Entitlements.plist in Code Signing Entitlements under Build Settings "

I did the same and it worked after an hour of trying other things!

查看更多
看我几分像从前
7楼-- · 2019-01-13 20:17

In my case, the problem was caused by different Bundle Identifier in Target General tab than in Build Setttings.

查看更多
登录 后发表回答