View Single Post
Is this an Applescript Automator action which you are developing through Xcode ?

It would probably be worth testing the code from a text (.applescript) file, or rebuilding the Xcode project from scratch, copying the program text in from text files.