Xcode 4 Applescript to Create and Run the Current Target Application

I am looking for some apple script that would tell Xcode to launch the current target.

I would like to automate Xcode from textmate to provide "Launch in the simulator" and "Launch on the device."

This is how much I got:

tell application "Xcode"
  set myWorkspace to active workspace document
  set myProject to the active project document of myWorkspace  -- Cant get active project document of workspace document "project.xcworkspace"
  ...
end tell
+3
source share
1 answer

Creative use of the xcodebuild command-line tool is likely to give you much more.

0
source

All Articles