On 31.01.2007, at 12:38, David Duncan wrote:
Note that Xcode might ignore your applications info.plist - even
if you fix your plist, in order to launch the application and
then debug from Xcode, your app bundle name needs to be identical
to the included executable...
As long as you set the CFBundleExecutable key to be that of your
executable, the actual bundle name shouldn't matter at all, plugin
or application.
Steps to reproduce:
1. Download the QuarkXPress Passport.app demo from www.quark.com
2. Open XCode
3. set it as host app for an arbitrary CFBundle.xcodeproj
4. build and run run the project in Xcode
Expected: Launched host
Result: Failure. Xcode tells gdb to launch something like (sorry,
Cocoa pseudocode...)
[[bundlename stringByAppendingPathComponent:@"Contents"]
stringByAppendingPathComponent:[bundlename
stringByRemovingPathExtension]]
and not
... [bundle infoDictionaryValueForKey:@"CFBundleExecutable"]
I´ve seen it in other situations, but I'm not too sure about the
details as most of my apps use an executablename == bundle name