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

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


  • Subject: Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 28 Apr 2008 19:01:21 -0700

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


  • Follow-Ups:
    • Re: Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: What is a project?
  • Next by Date: Re: Debugger doesn't stop (most of the time)
  • Previous by thread: Re: What is a project?
  • Next by thread: Re: Apple Doc says that PROJECT_NAME, TARGET_NAME Won't Reflect Changes
  • Index(es):
    • Date
    • Thread