I am on Xcode 3.1.4 and hitting the dreaded ""the executable was signed with invalid entitlements." error.
I am trying to add Entitlement.plist in the BUILD option but I cannot find where to put it.
This option used to exist above the "Code Signing Identity". I think it was called "Code Signing Entitlement" or something.
Is this missing in your version of xcode 3.1.4 ?
Generate a Code Signing Certificate using XcodeAt the top of the window select Accounts . Click on the + on the lower left corner and select Add Apple ID... A dialog will appear. Add your Apple ID and your password, then select Sign in .
During code signing, the entitlements corresponding to the app's enabled Capabilities/Services are transferred to the app's signature from the provisioning profile Xcode chose to sign the app. The provisioning profile is embedded into the app bundle during the build.
To turn the code signing off, go to your project and target "Build Settings", search for "Code Signing Identity" change its value to "Don't Code Sign" in both of them. To make this effective you need to change this value in the Project and all of the Targets separately.
SOLVED.
Inside the Target Build Settings->Architecture, Make sure your Base SDK is set to Device and not Simulator.
I could not find the Code Signing Entitlements option in In XCode 4 either...but after staring empty at the screen for about two hours, I did.
If you highlight your project, then select the target of interest and then finally switch from "Basic" to "All", you will find it.
Nice one, solved my problem too.
Its in the project menu at the bottom "edit active target", or press ALT+CMD+E
I had the same problem and my base SDK was set to "iPhone Device 2.0 (missing)". Changing it to "iPhone Device 2.2.1" fixed the above, and a number of other odd things that were happening.
Thanks user82383!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With