Xcode 4.4.1 Error Validating Mac app : CFBundleExecutable of two bundles may not point to the same file
I'm hitting this error after upgrading to Xcode 4.4.1 + 10.8.2. (Both were done at the same time). This is when validating an archive from an Xcode project for the mac app store.
The full error is :
CFBundleexecutable of two bundles may not point to the same file. The following shared bundle path have been found: MyAppName.app/Contents.
I'm not really sure what this means, the same exact source compiled without errors on 10.7.x Xcode 4.3.x. However I need to compile on 10.8.x & XCode 4.4.x+.
After trying a few things, I was able to fix it. The issue here was the Info.plist file was included in the 'copy bundle resources' build phase. Since this file is already copied by XCode elsewhere, it was causing the conflict. I removed the Info.plist from the 'copy bundle resources' build phase, and that fixed the issue.
Due to the unclear message given by XCode, hopefully this will at least help others a bit more quickly in the future.