• 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: Version.plist preprocessing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version.plist preprocessing


  • Subject: Re: Version.plist preprocessing
  • From: Michael Wolfinbarger <email@hidden>
  • Date: Fri, 9 Feb 2007 20:30:01 -0600


On Feb 9, 2007, at 7:18 PM, Walter wrote:

I have a version.plist file that I'd like to be preprocessed in the same
manner as info.plist.


Is there an easy way to do this?

Walter

I'm invoking the preprocessor via a "Run Script" build phase for my installer package's plists. The script looks something like this:


/usr/bin/gcc -E -P -x c -include ${TARGET_BUILD_DIR}/MyVersion.h $ {TARGET_BUILD_DIR}/MyDescription.plist -o ${TEMP_FILES_DIR}/ Description.plist

There may be a better way to do it, but that's been working okay for my purposes.

Michael Wolfinbarger
Oklahoma Climatological Survey


_______________________________________________ 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: Version.plist preprocessing
      • From: Walter <email@hidden>
References: 
 >Version.plist preprocessing (From: Walter <email@hidden>)

  • Prev by Date: Version.plist preprocessing
  • Next by Date: Re: Version.plist preprocessing
  • Previous by thread: Version.plist preprocessing
  • Next by thread: Re: Version.plist preprocessing
  • Index(es):
    • Date
    • Thread