My iOS Swift application works on wide range of iPhones from iPhone X to iPhone 16 Pro Max

My iOS Swift application works without problems and tested on wide range of iPhones from iPhone X to iPhone 16 Pro Max when compiled by XCode 16.4. When compiled on Xcode 26 application it frequently crashes with 0x8BADF00D FRONTBOARD error in various places when running on iPhone 14 Plus, most often when typing or when scrolling the screen. It works without problems on iPhone 16 Pro Max independent of the version of Xcode used for compilation. I followed dozens of recommendations, introduced async/await, tasks, significantly reduced complexity of layouts, making uniform bubbles etc.etc. , tried to introduce many simplifications in the application, still I could not achieve elimination of frequent crashes on iPhone 14 Plus running iOS 26.3.1, no matter what I tried. Other than that all functionality seems to be working.

This is the beginning of the Crash report: Termination Reason: Namespace FRONTBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation: Failed to terminate gracefully after 5.0s ProcessVisibility: Unknown ProcessState: Running WatchdogEvent: process-exit WatchdogVisibility: Foreground WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 9.330 (user 7.670, system 1.660), 29% CPU", "Elapsed application CPU time (seconds): 5.358, 17% CPU" )

Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 ??? 0x1b184c7b0 ??? 1 libswiftCore.dylib 0x19de70694 ContiguousArrayStorage.__deallocating_deinit + 95 2 libswiftCore.dylib 0x19dd013a8 swift_release_dealloc + 55 3 libswiftCore.dylib 0x19dd01fc4 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 151 4 SwiftUICore 0x1aaee2ca4 LazyLayoutViewCache.updatePrefetchPhases() + 1315 5 SwiftUICore 0x1ab129068 specialized LazySubviewPlacements.updateValue() + 4251 6 SwiftUICore 0x1ab14a23c specialized implicit closure #1 in closure #1 in closure #1 in Attribute.init<A>(:) + 23 7 AttributeGraph 0x1d2be8e48 AG::Graph::UpdateStack::update() + 499 8 AttributeGraph 0x1d2beacf0 AG::Subgraph::update(unsigned int) + 959 9 SwiftUICore 0x1aace5b44 specialized GraphHost.runTransaction(:do:id:) + 387 10 SwiftUICore 0x1aac772d8 GraphHost.flushTransactions() + 183 11 SwiftUI 0x1a9a0fa80 <deduplicated_symbol> + 23 12 SwiftUICore 0x1aac71578 partial apply for closure #1 in ViewGraphRootValueUpdater.updateGraph<A>(body:) + 27 13 SwiftUICore 0x1aac73f54 ViewGraphRootValueUpdater._updateViewGraph<A>(body:) + 231 14 SwiftUICore 0x1aac714d0 ViewGraphRootValueUpdater.updateGraph<A>(body:) + 179 15 SwiftUI 0x1a9a0fa4c closure #1 in closure #1 in closure #1 in UIHostingView.beginTransaction() + 171 16 SwiftUI 0x1a9a0f998 partial apply for closure #1 in closure #1 in closure #1 in UIHostingView.beginTransaction() + 23 17 SwiftUICore 0x1aac69aa8 closure #1 in static Update.ensure<A>(:) + 55 18 SwiftUICore 0x1aac69cec static Update.ensure<A>(:) + 99 19 SwiftUI 0x1a9a0f970 partial apply for closure #1 in closure #1 in UIHostingView.beginTransaction() + 79 20 SwiftUICore 0x1aad97e10 <deduplicated_symbol> + 27 21 SwiftUICore 0x1aac5aab0 specialized static NSRunLoop.flushObservers() + 363 22 SwiftUICore 0x1aac5a91c @objc closure #1 in static NSRunLoop.addObserver(:) + 27 23 CoreFoundation 0x1a0c87ea0 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 35 24 CoreFoundation 0x1a0c7158c __CFRunLoopDoObservers + 647 25 CoreFoundation 0x1a0c48740 __CFRunLoopRun + 923 26 CoreFoundation 0x1a0c47a6c CFRunLoopRunSpecificWithOptions + 531 27 GraphicsServices 0x2455d9498 GSEventRunModal + 119 28 UIKitCore 0x1a66f7df8 -[UIApplication run] + 791 29 UIKitCore 0x1a66a0e54 UIApplicationMain + 335 30 SwiftUI 0x1a99b8d20 closure #1 in KitRendererCommon(:) + 167 31 SwiftUI 0x1a99b58d4 runApp<A>(:) + 111 32 SwiftUI 0x1a99b53c0 static App.main() + 171

My iOS Swift application works on wide range of iPhones from iPhone X to iPhone 16 Pro Max
 
 
Q