¡@

Home 

2014/10/15 ¤U¤È 10:14:44

iphone Programming Glossary: targetproject

Build and Run an xcode project via AppleScript

http://stackoverflow.com/questions/1514302/build-and-run-an-xcode-project-via-applescript

let you run the app in the simulator. I've gotten pretty close with the script below... tell application Xcode set targetProject to project of active project document tell targetProject set active build configuration type to build configuration type.. close with the script below... tell application Xcode set targetProject to project of active project document tell targetProject set active build configuration type to build configuration type Debug set active SDK to iphonesimulator3.0 end tell if build.. build configuration type to build configuration type Debug set active SDK to iphonesimulator3.0 end tell if build targetProject is equal to Build succeeded then launch targetProject end if end tell ... but the build command doesn't seem to obey the..