• 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
Add variable from script during build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add variable from script during build


  • Subject: Add variable from script during build
  • From: Trygve Inda <email@hidden>
  • Date: Sat, 21 Mar 2009 01:19:52 +0000
  • Thread-topic: Add variable from script during build

I have a two target app.

During the build of target A, I need to run a shell script which will return
a text result. This result needs to be inserted in the Info.plist of target
B.

So how can my shell script set something like ${MY_VAR} and then in target
B's Info.plist I can have:

<key>MyKey</key><string>${MY_VAR}</string>

Possible?

Thanks,

Trygve


 _______________________________________________
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: Add variable from script during build
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Best way to launch command-line program from C++ application
  • Next by Date: Re: Add variable from script during build
  • Previous by thread: Re: Preprocessing within @"SOMEDEFINEDSTRING"
  • Next by thread: Re: Add variable from script during build
  • Index(es):
    • Date
    • Thread