Hi All,
Validation of our app archive for the Mac App Store using Organizer fails with
the following error during the “Preparing Archive (Validating MyApp)” step of
the “Validating archive” phase:
iTunes Store operation failed
Bad CFBundleExecutable. Cannot find executable file that matches the value of
CFBundleExecutable in the nested bundle
[com.mycompany.MyApp.pkg/Payload/MyApp.app/Contents] property list file.
Some additional information:
* CFBundleExecutable is set to ${EXECUTABLE_NAME} in the app's Plist file. This
is unchanged since the project was first created by Xcode back in 2007.
* I have verified that the post-build CFBundleExecutable value is correct in
the application bundle, both with normal builds and when archiving. The
application bundle, as contained in the archive, can be started from Finder, so
there doesn't appear to be a problem with the CFBundleExecutable value in the
app's Info.plist at runtime.
* The executable is located at Contents/MacOS/MyApp in the bundle, i.e. in the
standard location.
* This app has been in the Mac App Store for years. We have submitted dozens of
versions and never had this problem before. We have not changed the value of
CFBundleExecutable in the Plist file during this time.
* This is the first time we are attempting a submission with Xcode 6 (6.1).
Previous versions were built and submitted with Xcode 4.2.
* I have verified that this isn't a file permissions issue. The Plist file's
permissions are -rw-r--r-- in the app's bundle. These are also the permissions
set on the Contents/ and Contents/MacOS/ folders, as well as the MyApp
executable itself. The user and group are as for all other files in the bundle:
my user ID and "staff”.
* I have exported a .pkg file from Organizer and extracted the app bundle. The
bundle looks OK but I am unable to run the app due to a code signing error. I
have no idea whether this is normal.
* LSMinimumSystemVersion is 10.7. The app is x86_64 only.
Does anyone have any idea what might be causing this error? Any suggestions
would be greatly appreciated!
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to [email protected]