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: CFBundleExecutable



The "Properties" inspector is an editor for your Info.plist; changing the name of the Executable there will change the value of CFBundleExecutable in your Info.plist, but it won't actually change the name of the executable that Xcode builds. I'd recommend setting the Executable property to "${EXECUTABLE_NAME}"; when you compile, that will set your Info.plist's CFBundleExecutable to the value of the EXECUTABLE_NAME build setting, which is what actually controls the name of your executable. EXECUTABLE_NAME is a hidden build setting whose default value is derived from PRODUCT_NAME.

	- Rick

On Oct 26, 2005, at 9:15 AM, Gerriet M. Denkmann wrote:

In Xcode 2.1:
Target Info
	Properties 	
		Executable = Bimm
	Build
		Product Name = Bumm

Xcode -> Build
Now I have:
Bumm.app/Content/MacOs/Bumm
Bumm.app/Content/Info.plist CFBundleExecutable = Bimm

Xcode -> Run
Runs, but no icon in dock, no menu.

Double-click in Finder -> Panel: "..seems to be damaged or incomplete.."

Rename:
Bumm.app/Content/MacOs/Bimm (Note the last vowel)
Now can open in Finder and all is well.

Is this a bug in Xcode, or is it just Xcodes rather subtle way of telling me that I am plain silly?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >CFBundleExecutable (From: "Gerriet M. Denkmann" <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.