Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get Info version in Mac OS X Finder




On Jan 31, 2007, at 9:19 AM, Thomas Engelmeier wrote:


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

File a bug on Xcode.
Sadly, Xcode has plenty of minor defects. One more issue where things "kinda work" but don't "actually work" isn't too surprising.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Get Info version in Mac OS X Finder (From: Lars Jordebo <email@hidden>)
 >Re: Get Info version in Mac OS X Finder (From: Thomas Engelmeier <email@hidden>)
 >Re: Get Info version in Mac OS X Finder (From: David Duncan <email@hidden>)
 >Re: Get Info version in Mac OS X Finder (From: Thomas Engelmeier <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.