Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug "Xcode CodeSign error: The entitlements file Entitlements.plist is missing" in Xcode 4?

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?

like image 217
dontWatchMyProfile Avatar asked Nov 04 '25 23:11

dontWatchMyProfile


1 Answers

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.

like image 84
Rayfleck Avatar answered Nov 07 '25 13:11

Rayfleck