Post

Replies

Boosts

Views

Activity

Widgets stopped working after building with Xcode 14
Hello there. In our app we have several different size widgets, small and medium ones. Everything was fine with iOS 15 and even with iOS 16, while the app was built with Xcode 13. But then we switched to building with Xcode 14, some of widgets stopped working on iOS 16 (other iOS version starting from iOS 14 works well). Some of them are stuck with placeholder image and they are not updated even if the app is launched. I tried reinstalling the app, removing and adding the widget - nothing works. The same build, if it is built with Xcode 13, shows widgets working, and as soon as the app is launched on the same device with Xcode 14, widget turns into a placeholder and won't change back. Update: I tried to debug widget if it has problems with data, and everything seems fine. First time the widget is launched, placeholder function gets called once, then the getTimeline is called twice, and it contains the correct data in entry.
3
2
1.9k
Apr ’23