Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 4 Adding Run Script Build Phase Grayed Out

I am trying to select "Add Run Script Build Phase" under "Editor" > "Add Build Phase" in XCode 4, but the option is grayed out. Does anyone know why this would be happening? Thanks!

like image 419
MarkR Avatar asked Aug 13 '11 19:08

MarkR


People also ask

How do I run a build phase script in Xcode?

Go to the Build Phases section of your project. (Click on the project, then on the main target, then on the “Build Phases” tab along the top.) Click the + at the top left to create a new build phase; choose “New Run Script Phase.” Xcode creates the script at the end of the list, naming it “Run Script.”


1 Answers

This is now different...again...in XCode 6. There's a "+" button in the top left corner of the Build Phases area that will give you the New Run Script Phase option. I'll come back after the NDA has lifted to post screenshots.

like image 200
d2burke Avatar answered Oct 04 '22 14:10

d2burke