• 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: Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes


  • Subject: Re: Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes
  • From: Scott Tooker <email@hidden>
  • Date: Tue, 29 Apr 2008 11:19:07 -0700

Those build settings should always reflect the current associated project or target name. I'd file a bug on the documentation.

Scott

On Apr 28, 2008, at 7:01 PM, Jerry Krinock wrote:

If you look here:

http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/build_setting_ref/build_setting_ref.html

You will find that:

  PROJECT_NAME
  Value: The name of the project at the time it was created.

  TARGET_NAME
  Value: The name of the target at the time it was created.

My interpretation: If I change a target name or project name, the $ (PROJECT_NAME) and $(TARGET_NAME) will never reflect the change.

What if I 'Duplicate' a target? Is $(TARGET_NAME) the "Original Name", or "Original Name copy"? Doing an experiment, I get "Original Name copy". Indeed, if I open the Build Settings first and then change the target's name, it seems to be stuck forever with "Original Name copy".

But there's hope. If I change the target's name immediately to "New Name", before opening the Build Settings, any build setting containing $(TARGET_NAME) will get the "New Name" This is certainly what I desire but is contrary to the way I interpret "time it was created".

Of course, there may be other factors at play and I'm not sure what is meant by "time it was created".

Could someone please explain why these build settings would have been designed and/or documented to have such behavior which is, as far as I can see, not expected and not desired. Where did I miss the boat?

Jerry



_______________________________________________
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: 
 >Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: build 10.3 dynamic library on MAC 10.5 leopard fail
  • Next by Date: Re: Linking Errors for all vecLib.h calls
  • Previous by thread: Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes
  • Next by thread: build 10.3 dynamic library on MAC 10.5 leopard fail
  • Index(es):
    • Date
    • Thread