Post

Replies

Boosts

Views

Activity

Show When Run toggle in custom actions
How do we remove the Show When Run toggle that has appeared in our custom intents / Shortcut actions in iOS 14? The toggle did not appear in iOS 13. It's on by default, which is annoying because it causes a pause in execution in previously released shortcuts that rely on these actions. The intents are not part of the IntentUI target in my project.
1
0
969
Oct ’20
Intent definition in framework causing warning about intents implemented in two places
Have an app which has an intent definition defined in a framework. I understand that I have to add it to the project, but am seeing this warning message in Xcode when I run the app. The intents do seem to be working properly, however. iOS 14 and Xcode 12.5: objc[15464]: Class IntentSampleClassResolutionResult is implemented in both /private/var/containers/Bundle/Application/UUID/APPNAME.app/Frameworks/FRAMEWORKNAME.framework/Class (0x10917c2f8) and /private/var/containers/Bundle/Application/UUID/APPNAME.app/APPNAME (0x1028c1620). One of the two will be used. Which one is undefined. If I remove the intent definition file from my compile sources build settings, those warning messages disappear, but when I run the shortcut action, I get this warning in the console: 2021-06-12 21:07:54.234798-0700 APPNAME[15473:7317463] [Intents] -[INIntentResponse init] App proxy <<LSApplicationProxy: 0x127acaac0> com.company.appname file:///private/var/containers/Bundle/Application/UUID/APPNAME.app/ <com.company.appname :0>> doesn't contain intent SampleIntent, falling back to current bundle Any thoughts on how to suppress both of these warnings?
2
0
1.8k
Jun ’21