• 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: How to change an application's name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change an application's name?


  • Subject: Re: How to change an application's name?
  • From: Bill Monk <email@hidden>
  • Date: Tue, 14 Mar 2006 10:24:02 -0600

As far as I've seen, it is *not* sufficient to change Product Name in the target's build settings: The "Executable" field in the target's Properties must also be changed. If these do not agree, attempting to launch the app in Finder produces the following alert: "You cannot open the application 'Foo' because it may be damaged or incomplete."

Also, launching such an app from within Xcode (via Cmd-R) produces strange results: the app launches, but does not come to the front. And if you bring it to the front, its menu bar is nowhere to be seen - instead Xcode's menubar is active, and any command keys issued will invoke Xcode menu commands - i.e. Cmd-Q offers to quit Xcode, not the app whose window is frontmost.

So, changing one or the other of the Target's Build Settings->Product Name and Properties->Executable produces a broken app. At least it does here (Xcode 2.2.1). The two values must be kept in sync. Why on earth Xcode doesn't take care of this itself is a mystery. As is the purpose of having two different settings which cannot differ.

On Mar 13, 2006, at 2:07 PM, Matt Neuburg <email@hidden> wrote:

I believe it suffices to Get Info on the Target and change the Product Name.
If that doesn't appear to be working, make sure you are doing it for all
configurations. m.
On Sun, 12 Mar 2006 21:13:54 +1300, Robert Purves <email@hidden>
said:

In XCode 2.2 I have a project that builds an application MyTestApp.app with executable MyTestApp in its MacOS folder. How do I change the settings so that the built application will be named (for example) MyGreatApp.app?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to change an application's name?
      • From: Scott Tooker <email@hidden>
    • Re: How to change an application's name?
      • From: Matt Neuburg <email@hidden>
  • Prev by Date: Re: Programmatically changing "Open using Rosetta" flag
  • Next by Date: Re: How to change an application's name?
  • Previous by thread: Re: How to change an application's name?
  • Next by thread: Re: How to change an application's name?
  • Index(es):
    • Date
    • Thread