13 Replies Latest reply: Dec 28, 2013 3:16 PM by Apple_For_The_Win
Apple_For_The_Win Level 1 Level 1 (0 points)

I'm making an Xcode application, in Cocoa-Applescript, and I'de like to make it quit after it runs through the script. Is that possible? I've tried:


[[UIApplication sharedApplication] terminate];







but when I go to build it I get the error "Command /usr/bin/osacompile failed with exit code 1". How can I go about this?