• 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: Scott Tooker <email@hidden>
  • Date: Wed, 15 Mar 2006 11:08:43 -0800


On Mar 14, 2006, at 1:34 PM, Brad Oliver wrote:

On Mar 14, 2006, at 1:08 PM, email@hidden wrote:

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."

Simple solution - change the plist executable name (i.e. the Executable field in the target's properties) to $(PRODUCT_NAME). From then on it will mirror the product name setting.'

Actually $(EXECUTABLE_NAME) is the better choice in this case, since using it will be more resilient to changes in how $(PRODUCT_NAME) and $ (EXECUTABLE_NAME) are related. The project templates in Xcode 2.2.x already do this.


Scott



Brad _______________________________________________ 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

_______________________________________________ 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
References: 
 >Re: How to change an application's name? (From: Brad Oliver <email@hidden>)

  • Prev by Date: Re: dlopen and RTLD_LOCAL
  • Next by Date: Re: dlopen and RTLD_LOCAL
  • Previous by thread: Re: How to change an application's name?
  • Next by thread: Is it possible to break lines in the .xcconfig file?
  • Index(es):
    • Date
    • Thread