Unable to call code inside App Intent Extension like updateAppShortcutParameters() - Linking error

Was watching this latest WWDC 2023 video and had a question. I see about 17:20 in, they mention you can now put the shortcut provider in an app intent extension. https://developer.apple.com/videos/play/wwdc2023/10103/

This works fine by itself and I can see all my shortcuts and use siri, but as soon as I try to call into the extension from the main app in order to trigger updateAppShortcutParameters() or any other code, I get a linker error. Am I doing something obvious wrong? Note, I called it a framework, but it Is just an extension. Cant figure out how I am supposed to be calling this method.

Any help is greatly appreciated! https://developer.apple.com/documentation/appintents/appshortcutsprovider/updateappshortcutparameters()?changes=_4_8

https://imgur.com/a/yDygSVJ

Answered by eclair4151 in 809749022

This was answered here, the answer Is you need to add the main app as a target in your shortcut provider

https://forums.developer.apple.com/forums/thread/759160?answerId=806728022#806728022

Accepted Answer

This was answered here, the answer Is you need to add the main app as a target in your shortcut provider

https://forums.developer.apple.com/forums/thread/759160?answerId=806728022#806728022

Unable to call code inside App Intent Extension like updateAppShortcutParameters() - Linking error
 
 
Q