-->

How to debug “Xcode CodeSign error: The entitlemen

2020-07-22 19:36发布

问题:

Xcode throws this error when I try to CMD+I (Profile) an app on the device. Running is fine. Just profiling doesn't work and gives this error.

The path to the Entitlements.plist is bogus and points to a location that doesn't exist anymore.

I don't want to do Ad-Hoc Distribution, just profile my app on the device.

I'm finding only Xcode 3.2 related resources about this issue. Has anyone else encountered this with Xcode 4 and found a solution?

回答1:

Copy your Entitlements.plist file into the root directory of your project. If you don't have one anymore, then create one and put it in your default bundle. There's (for once) no magic going on here.