tags:

views:

2832

answers:

4

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 ?

+7  A: 

SOLVED.

Inside the Target Build Settings->Architecture, Make sure your Base SDK is set to Device and not Simulator.

Thank you thank you thank you!
Josh Brown
A: 

where is target build settings? I dont find one..

dhruv
+1  A: 

Nice one, solved my problem too.

Its in the project menu at the bottom "edit active target", or press ALT+CMD+E

Gav
A: 

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!