How do you create a Shell Script target in Xcode 4.2?

Doz picture Doz · Feb 1, 2012 · Viewed 9k times · Source

I was wondering if anyone knew with XCode 4.1 how to create a shell script. The option for that doesn't exist, but it might be called something else in the latest version. Ta

Answer

justin picture justin · Feb 1, 2012
  1. Select your project in the navigator
  2. Click "Add Target" - Choose "Aggregate" for an empty Target
  3. Add Build Phase -> Add Run Script
  4. Click Build Phases and edit the Run Script Phase