The executable gets signed with invalid entitlements in Xcode

前端 未结 30 1726
走了就别回头了
走了就别回头了 2020-11-29 03:43

I got this error with Xcode 5 when I try to run the app on my device.

The executable was signed with invalid entitlement

It work

相关标签:
30条回答
  • 2020-11-29 04:12

    I had the same problem in XCode 5. This helped me anyway.

    XCode > Preferences > Location tab > DerivedData
    

    Press a little left arrow to open DerivedData in Finder. Move to trash folder of your project and rebuild.

    Screenshot

    0 讨论(0)
  • 2020-11-29 04:12

    Enabling Capabilities -> Inter-App Audio fixed this issue for me as well. I am also trying to send push notifications through parse

    0 讨论(0)
  • 2020-11-29 04:12

    I'm using Push notification in my app and after development completed i was try to test push notification for release configuration. At that time i got this error.

    I was using Production Provisioning Profile to run for release. So i was able to solve this error by using Adhoc Provisioning Profile.

    0 讨论(0)
  • 2020-11-29 04:13

    I grappled with this issue for an hour, and finally found a fix. Turned out the Development Team was different in ProjectTarget and ProjectTests.

    0 讨论(0)
  • 2020-11-29 04:13

    This could be due running wrong scheme as well.

    0 讨论(0)
  • 2020-11-29 04:14

    Another thing to check - make sure you have the correct entities selected in both

    Targets -> Your Target -> Build Settings -> Signing

    and

    Project -> Your Project -> Build Settings -> Code Signing Entity

    I got this message when I had a full dev profile selected in one and a different (non-developer) Apple ID selected in the other, even with no entitlements requested in the app.

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