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!
Post
Replies
Boosts
Views
Activity
I keep creating a project and adding a custom intent to it and yet Xcode refused to create custom intent class. Actually, the file seems to be there it's just not visible to the app itself. How do I get the generated custom class to be visible to app?
Thanks
in ios swift intents intent class not generated how do I make it generate class?
My debug compile is failing with: Illegal instruction: 4I can archive and release to testflight with no problem.. the program happens when running in debugger what is up with this?
I have a simple app that basically does nothing. It is default app created by Xcode. When I install it via Testflight it crashes but when I run from debugger it is ok. I know I was fooling around with libcrypt and openssl libraries. I may have installed a new ssl or cript lib or something. would that cause builds to crash from testflight? How to fix xcode? I uninstalled and installed xcode and testflight downloaded apps still crash.Thanks,nf_ramsey