Re: Shell Script Build Phase troubles
Re: Shell Script Build Phase troubles
- Subject: Re: Shell Script Build Phase troubles
- From: Scott Tooker <email@hidden>
- Date: Mon, 15 Nov 2004 11:34:29 -0800
Actually the "Deployment Postprocessing" native target setting is only
half the story. This setting just ensures that any special
post-processing will occur (like stripping, proper permissions, etc.).
The other half is included in "Deployment Location". If this is checked
then the product is built in the install location (prepended by
$DSTROOT, so unless you've overridden that value, the product will
build into a root in /tmp).
Both settings are needed to get the results of an "install" build.
I just noticed that the "Deployment Postprocessing" help doesn't call
out that shell scripts meant for install builds are also run. I should
fix that :)
Scott
On Nov 3, 2004, at 3:39 AM, Izidor Jerebic wrote:
On Oct 23, 2004, at 10:23 AM, Nick Zitzmann wrote:
On Oct 22, 2004, at 10:46 PM, Jacob Lukas wrote:
I have a shell script build phase to prepare my application for
distribution. It's only supposed to run on a "Deployment" build. If
I set the option "Run script only during deployment builds", my
script is never run, whether the build style is deployment or
development. What am I doing wrong?
Nothing; the text is incorrect. I think it's supposed to say "Run
script only during install builds". If you want the script to only
trigger on deployment builds, then you need to check the
${BUILD_STYLE} variable in the script and act on that.
Ahem. Not quite true.
I had the same troubles, but remembered how I solved them with Project
Builder.
The script is run on deployment build, but you need to check
"Deployment Postprocessing" switch in deployment build-style. This
also triggers stripping and other good things you want for final
version...
<Picture 1.pdf>
This switch causes the complete 'install' build. At least I think
that was the case with jam - maybe someone from xcode engineers could
clear this for us...
izidor
_______________________________________________
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
_______________________________________________
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