Post

Replies

Boosts

Views

Activity

Reply to iOS 18.1 crash UIHostingView.layoutSubviews() / swift_unknownObjectWeakAssign / objc_storeWeak
We just started rolling out an update to our users - we most likely had a race condition with data being updated twice shortly after each other, which caused this crash. We're not (yet) seeing the crash on our latest rollout. The last version is also when we introduced that bug, so it seems they are related. It's weird that it only happens to iOS 18.1+ users, but I guess it must be related to something SwiftUI changed under the hood ¯\_(ツ)_/¯
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’24
Reply to iOS 18.1 crash UIHostingView.layoutSubviews() / swift_unknownObjectWeakAssign / objc_storeWeak
We just started rolling out an update to our users - we most likely had a race condition with data being updated twice shortly after each other, which caused this crash. We're not (yet) seeing the crash on our latest rollout. The last version is also when we introduced that bug, so it seems they are related. It's weird that it only happens to iOS 18.1+ users, but I guess it must be related to something SwiftUI changed under the hood ¯\_(ツ)_/¯
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to iOS 18.1 crash UIHostingView.layoutSubviews() / swift_unknownObjectWeakAssign / objc_storeWeak
We're seeing similar crashes - we recently converted two of our main pages to SwiftUI to be embedded inside UIHostingControllers (root hierarchy is still UIKit based), and we are seeing this crash since rollout. Not sure if we are doing something wrong, but we are only seeing this crash on iOS 18.1+. We support iOS 14+
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24