• 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: Post-build execution of scripts/commands?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Post-build execution of scripts/commands?


  • Subject: Re: Post-build execution of scripts/commands?
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 13 Apr 2005 22:08:59 -0700


On Apr 13, 2005, at 3:08 PM, Jose Commins wrote:

I'm currently (well, still!) developing an app that requires the execution of a command-line utility after Xcode has finished building the application. I have looked but have not found if there is such a mechanism - is there, and if so, how does one go about it?

Regards,
		Jose.

Add a Shell Script Build Phase to your target after the last build phase (usually "linking"). Enter any shell commands you need to execute there. Useful build settings are passed to the script as shell environment variables, see the Build Settings Release Notes in Xcode's Help menu for details.


http://developer.apple.com/documentation/DeveloperTools/Conceptual/ Build_System/Build_Phases/Build_Phases.html

_______________________________________________
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


References: 
 >Post-build execution of scripts/commands? (From: Jose Commins <email@hidden>)

  • Prev by Date: Re: C++ warnings
  • Next by Date: Re: C++ warnings
  • Previous by thread: Post-build execution of scripts/commands?
  • Next by thread: IOKit and .xcode
  • Index(es):
    • Date
    • Thread