Post

Replies

Boosts

Views

Activity

SiriKit Intents.intentdefinition custom class not found
Environment: Xcode Version 12.0.1 (12A7300) Mac mini (2018) running macOS Catalina 10.15.6 Programming for iPhone iOS 14.0 Programming Language Swift 5 Problem: I am trying to create a Swift project that uses SiriKit. However; when I add the Intents.intentdefinition file, the custom class code is not visible to the app (Cannot find 'BasicIntent' in scope). I tried; rebuilding app deleting derived data folder setting intent class generation language to swift cleaning build folder closing and reopening project making sure build system is New Build System However, nothing seems to work. I know the custom class is generated because I can see it in the identity inspector. I am now at a loss on how to make this custom intent class visible to scope of app. Any help would be greatly appreciated. Thanks!
0
0
693
Oct ’20