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

前端 未结 18 1047
忘了有多久
忘了有多久 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:52

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

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

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

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

    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.

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

    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.

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

    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!

    0 讨论(0)
  • 2020-12-05 07:01

    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"

    2. Archive again

    I am now successfully uploading my app to the store.

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