• 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
How to prevent script phase from running when there was a compile or link error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to prevent script phase from running when there was a compile or link error


  • Subject: How to prevent script phase from running when there was a compile or link error
  • From: Howard Moon <email@hidden>
  • Date: Wed, 29 May 2013 10:50:52 -0700

	In Xcode 3.2.6, I've got a script phase that runs after everything else is done, but it always runs even if there is a compile or link error prior to that.  I don't want to have the compiler stop on build errors, but I also don't want to execute [at least a portion of] my script, because it will always fail if the link hasn't been performed or hasn't succeeded.  I don't see any way to control the execution of the script in this manner, though.  Is there a variable that gets set when linking has succeeded (or failed) that I can use to tell my script to skip over all or part of it?

Thanks,
	Howard


 _______________________________________________
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: How to prevent script phase from running when there was a compile or link error
      • From: Michael Rawdon <email@hidden>
  • Prev by Date: Re: Still Having Trouble with Certificates
  • Next by Date: Re: How to prevent script phase from running when there was a compile or link error
  • Previous by thread: Re: Still Having Trouble with Certificates
  • Next by thread: Re: How to prevent script phase from running when there was a compile or link error
  • Index(es):
    • Date
    • Thread