Cannot find type 'CreateTaskIntentHandling' in scope

I’m trying to implement the code like shown in the session but problems start early — there seems to be no such thing like a CreateTaskIntentHandling class even after importing Intents.

Cannot find type 'CreateTaskIntentHandling' in scope

What am I missing here?

  • masOS Monterey Version 12.0 Beta (21A5506j)
  • Xcode Version 13.0 RC (13A233)
  • Isn't it because Xcode 13 RC does not contain macOS 12 SDK? Have you tried it with an older Xcode 13 beta?

  • Thanks for sharing this! You’re right. Somehow the Handling protocols were generated even with Xcode 13 RC but the intent handler within the AppDelegate only works with Xcode 13 beta 5 at the moment.

Add a Comment

Accepted Reply

I just realised that the Handling protocols are generated automatically based on the intent definition file. Configure that first and you’re good to go 🙂

Replies

I just realised that the Handling protocols are generated automatically based on the intent definition file. Configure that first and you’re good to go 🙂