Bundle Identifier and push certificate… aps-environment entitlement error

前端 未结 19 2513
滥情空心
滥情空心 2020-11-29 17:38

I\'ve read Where does xcode take application's Identifier from? , XCode bundle identifier formatting from {PRODUCT_NAME} , and loads more but...

I\'m trying to g

19条回答
  •  温柔的废话
    2020-11-29 18:09

    Using XCode4 and receiving the same "no valid 'aps-environment' entitlement string found for application" I had to do the following:

    • Delete old provisioning profiles from both Library + Device panels in Organizer
    • Regenerate new profile with APN dev enabled from the developer portal website
    • Make sure new profile is added to both Library + Device panels in Organizer
    • Manually delete my app off my device (holding till it jiggles and hitting X)
    • CMD+OPT+SHIFT+K (Clean Build Folder) and CMD+SHIFT+K (Clean)
    • Set the proper profile under Project > Build Settings > Code Signing
    • Make sure 'Use Entitlements' is not checked under Targets > Summary

提交回复
热议问题