Created
February 2, 2011 03:52
-
-
Save jonathanpenn/807211 to your computer and use it in GitHub Desktop.
Toggle Xcode between Device and Simulator SDKs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Xcode" | |
set targetProject to project of active project document | |
tell targetProject | |
if active SDK contains "iphoneos" then | |
set active SDK to "iphonesimulator" | |
else | |
set active SDK to "iphoneos" | |
end if | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment