The executable gets signed with invalid entitlements in Xcode

前端 未结 30 1836
走了就别回头了
走了就别回头了 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:28

    The answers here seem a bit inadequate so I'm adding my two cents:

    The real solution is that there is generally a mismatch between what is stored in your provisioning profile (check at developer.apple.com -> members -> certificates -> the cert you're using [be sure to check if dev/production) and what is enabled in your app (double click project name), under horizontal menu select'Capabilities' (next to 'General').

    If you've recently changed one of these, be sure to refresh your certificates under XCode -> Preferences -> Accounts -> Details -> Refresh Icon and restart XCode.

提交回复
热议问题