• 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
Using xcconfig files for replacing text in other files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using xcconfig files for replacing text in other files


  • Subject: Using xcconfig files for replacing text in other files
  • From: Michael Charlton <email@hidden>
  • Date: Fri, 23 Jan 2009 13:55:37 +0000
  • Importance: Normal

Say I have an xcconfig file called versions.xcconfig which has 
the following entry:

VERSION = 1.71.19
And I also have an Info.plist file with the following fragment:

<key>CFBundleVersion</key>
<string>${VERSION}</string>
Is there any way that I can get Xcode to replace ${VERSION} with 
1.71.19 so that I end up with:
  
<key>CFBundleVersion</key>
<string>1.71.19</string>

In the Info.plist file?
I did stumble upon http://www.latenightcode.com/devblog/automated-build-numbering-in-xcode/
but could not get this approach to work. I suspect that I could be doing something 
wrong.

Thanks in advance.

Michael.   


Share your photos with Windows Live Photos – Free Find out more!
 _______________________________________________
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: Using xcconfig files for replacing text in other files
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: OCUnit test failure - assert formatted text not presented
  • Next by Date: Re: per-file and per-group warnings?
  • Previous by thread: Re: Interface Builder Hangs
  • Next by thread: Re: Using xcconfig files for replacing text in other files
  • Index(es):
    • Date
    • Thread