Where do values actually come from in a build?
Where do values actually come from in a build?
- Subject: Where do values actually come from in a build?
- From: Chris Hanson <email@hidden>
- Date: Wed, 5 Nov 2003 04:35:18 -0600
Can someone please explain to me, completely and succinctly, exactly
how this stuff works in Xcode?
Here's something I could do in Project Builder:
* Edit the Development build style to include TEST_AFTER_BUILD=YES.
* Create a Shell Script build phase in my target that checks the value
of the variable TEST_AFTER_BUILD.
Then if I do a build with the Development build style the shell script
does one thing, while if I do a build with the Deployment build style
the shell script does another thing.
Simple, right? It should work the same way in Project Builder 3 -- er,
Xcode. right?
If I take an Xcode project and perform exactly the same two steps, I do
not get the same result. In fact, the shell script acts as if the
variable has never been set. Here's a simple shell script to try it
with:
echo TEST_AFTER_BUILD is $TEST_AFTER_BUILD
So what's going on here? What do I have to do differently? Am I
missing a step? Ten?
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Outsourcing Vendor Evaluation | Phone: +1-847-372-3955
Custom Mac OS X Development | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
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.