Re: Injecting build variables into Xcode
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.