Xcode 4.2 Product -> Run Greyed Out

FishStix picture FishStix · Nov 16, 2011 · Viewed 16.1k times · Source

My "Run" button under "Product" is greyed out and after trying a few things from various forums, can't figure out what's gone wrong.

I've tried removing the project.xcworkspace and xcuserdata files and letting xcode generate new ones, but no...

My co-worker uses AppCode from IntelliJ and when he pulls the code, it runs just fine. But if he opens the same files in his Xcode, his "Run" is also greyed out.

Answer

chown picture chown · Nov 16, 2011

"Edit" your current "Scheme":

enter image description here

Make sure you have "Run" checked for that build target:

enter image description here