UIKit crash on app built with Xcode 26 but run on iOS 18.X

An app built on Xcode 26 (beta4) presents various UIViewCOntrollers. Presentation of any UIViewController that contains a UIToolbar leads to a UIKit crash when run on an iOS 18.5 device, it does not crash when run on iOS 26.

The exception logged:

*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named TtGC5UIKit17UICoreHostingViewVCS_21ToolbarVisualProvider8RootView because no class named TtGC5UIKit17UICoreHostingViewVCS_21ToolbarVisualProvider8RootView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)'

Anyone else seen this?

I've submitted a bug report via Feedback Assistant, including a minimal Xcode workspace that reproduces the crash, hoping this will get some attention.

I've submitted a bug report via Feedback Assistant, including a minimal Xcode workspace that reproduces the crash

That's the right thing to do, thank you! Could you share the FB number of your report?

— Ed Ford,  DTS Engineer

Thanks Ed, its FB18995026

Also experiencing the same issue. Submitted FB18845125.

UIKit crash on app built with Xcode 26 but run on iOS 18.X
 
 
Q