I was also getting an error when trying to install it via iTunes that the phone was not entitled to run the application.
This is the information from StackOverflow with some minor changes:
http://stackoverflow.com/questions/1074546/the-executable-was-signed-with-invalid-entitlements
For Ad Hoc Distribution, complete the following:
- In the File Menu, select New File -> iPhone OS -> Code Signing -> Entitlements. Name the file “Entitlements.plist" and click ‘Finish’. This creates a copy of the default entitlements file within the project.
- Select the new Entitlments.plist file and uncheck the “get-task-allow” property. Save the Entitlements.plist file.
- Select the Target and open the Project -> Edit Project Settings -> Build settings inspector. In the ‘Code Signing Entitlements’ build setting, type in the filename of the new Entitlements.plist file including the extension. There is no need to specify a path unless you have put the Entitlements.plist file somewhere other than the top level of the project
No comments:
Post a Comment