I have an application that I have been developing for some time now. Recently launching the application via a double click presents a dialog that says \"You can\'t open the
The problem is likely due to an invalid CFBundleExecutable property value in the Info.plist
file you are copying into the application.
In Xcode projects the default value for this property is a special variable (placeholder) value (${EXECUTABLE_NAME}
) that is expanded (replaced) when the build system builds the application. Are you sure you need to copy this file manually? Maybe you can add a script build phase that makes whatever changes you need after it has been expanded and copied into place by the normal build process.
While you are at it, you should check for other placeholder values in the file. It is likely that you will need to fill in CFBundleName
(others may also be necessary, depending on your application type).