• 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: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier}


  • Subject: Re: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier}
  • From: Philip Aker <email@hidden>
  • Date: Tue, 3 Feb 2009 23:18:29 -0800

On 2009-02-03, at 22:30:16, Chris Hanson wrote:

Actually, ${brace} syntax is used in Info.plist files rather than $ (parenthesis) syntax.

Because in (most?) shells, the convention is that the brace delimiter provides a means to separate a variable from subsequent text. i.e.: $HOMERun might not be valid environment variable whereas ${HOME}Run has the potential to be meaningful. Following the same tradition, Xcode should actually execute a parenthesized item as a shell script and place the result in the destination plist (kindly stripping off the trailing newline :-).



Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
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: 
 >Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier} (From: Stuart Malin <email@hidden>)
 >Re: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier} (From: Chris Espinosa <email@hidden>)
 >Re: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier} (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier}
  • Next by Date: Re: XCode built project crash related to .o files and p_threads?
  • Previous by thread: Re: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier}
  • Next by thread: Re: Info.plist: ${PRODUCT_NAME} versus ${PRODUCT_NAME:identifier}
  • Index(es):
    • Date
    • Thread