0

Is is possible to make XCode run by executing an AppleScript or some sort of terminal command?

Can you pass XCode startup arguments, like a project to open, or to build a project on startup?

Edit:

Please excuse my laziness, but Apple Script samples are appreciated.

1 Answer 1

2

It's fairly simple to run Xcode from the Terminal: open -a Xcode to simply open it, or open yourproject.xcodeproj to open your project in Xcode. As for getting it to build on startup, you'd probably have to turn to AppleScript for that:

tell application "Xcode"
    build
    launch
end tell
Sign up to request clarification or add additional context in comments.

1 Comment

Great starting point, for sure. I'll need to verify and get back to you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.