Re: Where do values actually come from in a build?
Re: Where do values actually come from in a build?
- Subject: Re: Where do values actually come from in a build?
- From: Scott Tooker <email@hidden>
- Date: Wed, 5 Nov 2003 10:24:44 -0800
My initial guess is that we have a bug where we are not passing down
the entire build settings dictionary to the shell script. I'd file a
bug.
Scott
On Nov 5, 2003, at 2:35 AM, Chris Hanson wrote:
> 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.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.