• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing Bundle Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing Bundle Name


  • Subject: Re: Changing Bundle Name
  • From: Matt Neuburg <email@hidden>
  • Date: Sun, 16 Jan 2005 09:57:21 -0800

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Changing Bundle Name
      • From: Henry Maddocks <email@hidden>
  • Prev by Date: Re: NSFileManager, 10.3.x and /tmp: bug?
  • Next by Date: Building with Subclasses
  • Previous by thread: Re: Changing Bundle Name
  • Next by thread: Re: Changing Bundle Name
  • Index(es):
    • Date
    • Thread