Post

Replies

Boosts

Views

Activity

Reply to Is there any way to expose an AppIntent that lives in the app package or an AppIntentExtension to a widget?
I'm also facing the same issue. I have AppIntents as they require access to my core data stack, network for syncing, notification scheduling, starting live activities etc. But I can't find any way to use an AppIntent from a WidgetExtension without having to add almost my entire apps code base to the WidgetExtension. This seems backwards, why create an AppIntent which runs in the Apps process if you have to put all the code into the WidgetExtension? I must be missing something, the docs make it sound easy to use them but lack details on how it should be setup.
Topic: App & System Services SubTopic: General Tags:
Jul ’23
Reply to Auto-generated Intents code contains thousands of warnings in Xcode 13 beta
Still happening with Xcode 13.3
Replies
Boosts
Views
Activity
Mar ’22
Reply to Is there any way to expose an AppIntent that lives in the app package or an AppIntentExtension to a widget?
I'm also facing the same issue. I have AppIntents as they require access to my core data stack, network for syncing, notification scheduling, starting live activities etc. But I can't find any way to use an AppIntent from a WidgetExtension without having to add almost my entire apps code base to the WidgetExtension. This seems backwards, why create an AppIntent which runs in the Apps process if you have to put all the code into the WidgetExtension? I must be missing something, the docs make it sound easy to use them but lack details on how it should be setup.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Is there any way to expose an AppIntent that lives in the app package or an AppIntentExtension to a widget?
Can confirm @blacksun method works. I created the same AppIntent twice, but with an empty perform block in the one I added to the WidgetExtensions target. The one in my main app target has the fully implemented Perform function and is the one called at run time.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to AppEnum requestValue doesn't work on iOS 17.4
I'm also seeing this and getting reports of it from users. Unfortunately, users just see "Internal Error" which wasn't very helpful in identifying the issue. I've filed a feedback for it FB13730210, I encourage others hitting this to do the same to get some numbers behind it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Text with relative date - sizing bug when used in widget
I'm seeing the same issue too. I've not found a workaround other than to remove minimumScaleFactor from all Text(style: .relative) and instead try to scale down other Text instead. Apparently this is fixed in iOS 18.1 beta, but I'm getting too many bug reports to wait until that's released.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Image Playground Error: Cannot find protocol declaration for 'ImageGenerationViewControllerDelegate'
I get this as well. Seems to be due to having a project with a mix of Swift and Objc. FB (9FB16077654) Sample project is attached to that feedback
Replies
Boosts
Views
Activity
Dec ’24