Hi all,
I am quite new to xcode and apple script and I need help with my first project, I have been following the hello world tutorial and I havent got it to work so far. I am using xcode 3.2.
Here is my script:
script UntitledAppDelegate
on applicationWillFinishLaunching_(aNotification)
-- Insert code here to initialize your application before any files are opened
end applicationWillFinishLaunching_
on applicationShouldTerminate_(sender)
-- Insert code here to do any housekeeping before your application quits
return my NSTerminateNow
end applicationShouldTerminate_
end script
on clicked theObject
display dialog "hello world"
end clicked
Each time I try to build and run it fails with this
Command /usr/bin/osacompile failed with exit code 1
Any ideas
Thanks
I am quite new to xcode and apple script and I need help with my first project, I have been following the hello world tutorial and I havent got it to work so far. I am using xcode 3.2.
Here is my script:
script UntitledAppDelegate
on applicationWillFinishLaunching_(aNotification)
-- Insert code here to initialize your application before any files are opened
end applicationWillFinishLaunching_
on applicationShouldTerminate_(sender)
-- Insert code here to do any housekeeping before your application quits
return my NSTerminateNow
end applicationShouldTerminate_
end script
on clicked theObject
display dialog "hello world"
end clicked
Each time I try to build and run it fails with this
Command /usr/bin/osacompile failed with exit code 1
Any ideas
Thanks