Xcode6 error: “No matching provisioning profiles found for application”

前端 未结 18 1048
忘了有多久
忘了有多久 2020-12-05 06:21

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

相关标签:
18条回答
  • 2020-12-05 06:39

    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.

    0 讨论(0)
  • 2020-12-05 06:40

    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.
    0 讨论(0)
  • 2020-12-05 06:44

    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...

    0 讨论(0)
  • 2020-12-05 06:46

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

    0 讨论(0)
  • 2020-12-05 06:48

    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

    0 讨论(0)
  • 2020-12-05 06:52

    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.

    0 讨论(0)
提交回复
热议问题