Quit app and retarget
Quit app and retarget
The following script fails with Xcode got an error if Xcode is already running: Connection is invalid.
Presumably this is because I quit xcode and then retarget.
Is there a way to structure the AS syntax to make this work?
Workarounds would presumably include GUI scripting using System Events.
tell application "Xcode" to quit
--
-- bump the project version
--
set bumpScript to "cd " & myPath & " ; agvtool bump -all"
do shell script bumpScript
tell application "Xcode"
--
-- load our project, target and then build
-
-
end tell
Regards
Jonathan Mitchell
Developer
http://www.mugginsoft.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden