Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I run a xcodeproj from bash?

ls
Quotes          Quotes.xcodeproj    README.md
exec Quotes.xcodeproj
-bash: exec: Quotes.xcodeproj: not found
share|improve this question

2 Answers 2

up vote 2 down vote accepted

xcodeproj files are not executable. They are actually packages, so they contain much more than one file. Usually, they're opened by Xcode.app. If you want to open such a file from terminal, all you have to do is write:

open Quotes.xcodeproj

This will launch Xcode with that project.

Otherwise, if you want to peek into that package, just cd into it.

share|improve this answer

To run an Xcode build of a .xcodeproj, use the xcodebuild command.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.