tags:

views:

12

answers:

1

Can’t install application

The application at /Users/myname/Documents/SDK/iPhoneApplications/x/build/Debug-iphoneos/x.app does not specify a CFBundleExecutable

I don't know what this means or how to fix it. Can anyone help? It only occurs when trying to build to a device - it is an iPhone 3G running 4.1 and I am using the latest SDK which allows me to build on iOS 4.1

+1  A: 

This value is specified in your Info.plist file. I would check your target for the debug configuration and make sure you have the correct plist file specified.

Double-click on your target and search for the Packaging section or for Info.plist.

If the plist is correct, check the content of your Info.plist to make sure you have either a value for either key CFBundleExecutable or key Executable file (they are the same value, but can be displayed with raw or friendly labels).

TyB
Thank you, the problem turned out to be there was no info.plist file inside the application, so I have copied one in form another project and edited it and it all works fine now, thank you for your help
Jon