Re: Changing Bundle Name
Re: Changing Bundle Name
- Subject: Re: Changing Bundle Name
- From: Henry Maddocks <email@hidden>
- Date: Mon, 17 Jan 2005 08:52:48 +1300
Except sometimes XCode gets confused and your target wont build
anymore. I had a fight with this this weekend. It was easier to create
a new project in the end.
Maybe you could get away with creating a new target and deleting the
old?
On 17/01/2005, at 6:57 AM, Matt Neuburg wrote:
On or about 1/16/05 5:46 AM, thus spake
"email@hidden"
<email@hidden>:
Maybe this is more an Xcode-question than a general Cocoa one, but I
am
not sure.
It is, actually.
When I started my project, I named it in a kind of sloppy way and now
whenever I run the application, the dock icon displays this old name.
How can I change this? Of course, renaming the application itself
didn't do anything. Is there any place where I can tell Xcode how to
name the binary executable so that the dock icon displays what I want
it to?
Giving your app a name is astoundingly tricky. If I remember correctly:
(1) the localized CFBundleName is what shows up in the menu bar
(2) changing (presumably localizing) the About, Hide, Quit, and Help
menu
items is up to you :(
(3) the dock name is the name of the app wrapper; you can change this
by
changing PRODUCT_NAME in your target (not project) settings
(3a) when you do that, you also need to change the CFBundleExecutable
to
match (in your info.plist), or the app won't launch; I believe you can
now
(Xcode 1.5) set it to $(PRODUCT_NAME) to make this happen all by
itself, and
in fact that seems to be the best approach.
m.
-- matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden