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

I played with fastlane gym, and there it gave some interesting insights:

There was an error exporting your application Unfortunately the new Xcode export API is unstable and causes problems on some project You can temporary use the :use_legacy_build_api option to get the build to work again

This is the according Bug-Report. Seems to be unfixed for month. https://openradar.appspot.com/radar?id=4952000420642816

Building the app in legacy mode worked for me.

gym --use_legacy_build_api true

Hope, this helps anyone.

查看更多
叼着烟拽天下
3楼-- · 2019-01-13 20:07

If other solutions do not work, try going to XCode -> Preferences -> Accounts -> View Details

Now look in Provisioning Profiles section. If your provisioning profile has an action button of 'Download', click the button and download. Then try again

查看更多
家丑人穷心不美
4楼-- · 2019-01-13 20:09

I had another cause for this problem.

I had 3 different Configurations (Debug, AdHoc, AppStore). I accidentally had the AdHoc Configuration selected in the Archive Scheme setting and tried to upload the generated archive to the AppStore.

So setting the Archive configuration to AppStore solved the problem for me.

enter image description here

查看更多
▲ chillily
5楼-- · 2019-01-13 20:10

Another solution, that fixed this symptom for me, can be found at: Xcode Watchkit: None of the valid provisioning profiles allowed the specified entitlements: beta-reports-active, com.apple.security.application-groups

Briefly: clear ~/Library/MobileDevice/Provisioning Profiles

查看更多
The star\"
6楼-- · 2019-01-13 20:10

Create a new provisioning profile

This solution worked for me when I had this problem.

Step by step :

enter image description here

  1. log onto the apple developer portal and go here : https://developer.apple.com/account/ios/profile/production

  2. Click the [+] add button and fill in a new profile name and select your app ID

  3. Click the Download button, and once it has downloaded double click to open that file in Xcode

  4. Re-Archive, and this time you should be able to upload succesfully to the store

查看更多
劳资没心,怎么记你
7楼-- · 2019-01-13 20:11

If certificates and build setting are all good, and you are part of multiple teams, make sure to select the proper team for the app. Clean and archive again.

查看更多
登录 后发表回答