Post

Replies

Boosts

Views

Activity

Reply to Widgets not displaying data when running on iOS 18
I'm having the same issue too. I'm using App Group to share a file containing data between the main app and the widgets. It used to work just fine, but now, the Widget get a permission denied error when trying to access the file. I tried to rename the app group on both side, reset cache & derived data, etc... it just doesn't work. I also tried with the default Apple template and it doesn't work either.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to WidgetKit keep crashing and widgets not displaying
Hi Rico. I tried all of the above you mentioned. I cleaned everything, reinstalled Xcode and remove my widgets from my app and recreated them. The simulator is not crashing anymore but any widget with intent get a CHSErrorDomain error 1103. You can even start a fresh project and a widget with intent and run it and you'll get the same error. In the console, I only get errors from chronod : Requested to add extension, but purging instead because we shouldn't cache I And one from runningboardd : Memorystatus failed with unexpected error: Invalid argument (22). I'm out of idea.
Sep ’24
Reply to Widgets not displaying data when running on iOS 18
I'm having the same issue too. I'm using App Group to share a file containing data between the main app and the widgets. It used to work just fine, but now, the Widget get a permission denied error when trying to access the file. I tried to rename the app group on both side, reset cache & derived data, etc... it just doesn't work. I also tried with the default Apple template and it doesn't work either.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to WidgetKit keep crashing and widgets not displaying
Hi Rico. I tried all of the above you mentioned. I cleaned everything, reinstalled Xcode and remove my widgets from my app and recreated them. The simulator is not crashing anymore but any widget with intent get a CHSErrorDomain error 1103. You can even start a fresh project and a widget with intent and run it and you'll get the same error. In the console, I only get errors from chronod : Requested to add extension, but purging instead because we shouldn't cache I And one from runningboardd : Memorystatus failed with unexpected error: Invalid argument (22). I'm out of idea.
Replies
Boosts
Views
Activity
Sep ’24
Reply to WidgetKit Simulator with Intent Configurations
Any update regarding this issue? I have the same for many months and almost gave up. Widgets support in macOS is terrible. It's impossible to preview the widgets and with the Preview way suggested by Rico, I get an error "This platform does not support previewing widgets.".
Replies
Boosts
Views
Activity
Mar ’25