• 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: Shell Script Build Phase troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell Script Build Phase troubles


  • Subject: Re: Shell Script Build Phase troubles
  • From: Izidor Jerebic <email@hidden>
  • Date: Wed, 3 Nov 2004 12:39:17 +0100

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...

Attachment: Picture 1.pdf
Description: Adobe PDF document




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

  • Follow-Ups:
    • Re: Shell Script Build Phase troubles
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: ZeroLink unknown symbol __ZTv0_n12_NSoD0Ev
  • Next by Date: Re: ZeroLink unknown symbol __ZTv0_n12_NSoD0Ev
  • Previous by thread: Re: ZeroLink unknown symbol __ZTv0_n12_NSoD0Ev
  • Next by thread: Re: Shell Script Build Phase troubles
  • Index(es):
    • Date
    • Thread