Search code examples
objective-cshellxcode4xcode4.2

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


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


Solution

    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