Post

Replies

Boosts

Views

Activity

Trying to use Xcode 13 with Applescript framework
Trying to generate an AppleScript executable for MacOS using Xcode 13 Applescript framework. Right out of the box, the project generated by Xcode has the following difficulty. As shown in the Connections inspector for the "App Delegate" icon, the "App Delegate" does not refer to the AppDelegate.applescript listed in the Project navigator. This results in the inability to connect UI elements to the AppleScript code. A screenshot of the Connections inspector is attached showing the error "AppDelegate does not have an outlet named theWindow" whereas the script clearly defines such an outlet. This project is freshly generated, no changes have been made. Am I missing a configuration piece or something else? Examples I've watched on YouTube of generating simple "Hello World" apps all work as the Xcode IB does normally i.e., by using control-drag to contact different objects, but they were all done on earlier versions of Xcode.
4
0
1.6k
Oct ’21