• 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: Injecting build variables into Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Injecting build variables into Xcode


  • Subject: Re: Injecting build variables into Xcode
  • From: email@hidden (Simon Fraser)
  • Date: Thu, 8 Jul 2004 11:27:46 -0700 (PDT)
  • Organization: AOL

Chris Espinosa wrote on 8/7/04, 11:06 am:

 > On Jul 7, 2004, at 7:31 PM, Simon Fraser wrote:
 >
 > > I have a make-based build system that uses xcodebuild to
 > > build some Xcode projects that build the UI portion of the app.
 >
 > <snipped for length>
 >
 > > Is there any way to set a build setting from within a
 > > Shell Script build phase, or something like that?
 >
 > Sure... in the Target Inspector for that target, Build Settings, just
 > press the + button at the bottom.  Enter the variable name in the left
 > hand column and the value in the right.  That's the equivalent of
 > setting BUILD_VAR=val on the xcodebuild command line.

Right, I know that I can do that. The problem is that I don't want to
hardcode the value in the Xcode project. I need to feed this in from
outside (read it from a file, get it from the environment, or something).

Simon
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Injecting build variables into Xcode (From: email@hidden (Simon Fraser))
 >Re: Injecting build variables into Xcode (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Injecting build variables into Xcode
  • Next by Date: shell script to selectively copy files?
  • Previous by thread: Re: Injecting build variables into Xcode
  • Next by thread: Debug and Release target problems
  • Index(es):
    • Date
    • Thread