Are u calling WidgetCenter.shared.reloadAllTimelines()?
Post
Replies
Boosts
Views
Activity
Hi,
I already solved my Problem.
WidgetKit should be ignored by older versions, so it shouldnt matter if I am calling
WidgetCenter.shared.reloadAllTimelines() without #available condition.
The problem was, that the WidgetKit framework was not marked as optional BUT NOT the framework inside the widget extension!
You need to add the framework manually to your main app, and than mark this one as optional.
Or just check the main app inside Target Membership from the framework and select optional