Xcode 26 Beta 3 Crash on iOS 18 Simulators - NSInvalidUnarchiveOperationException (ToolbarVisualProvider8RootView missing)

Hi,

I’m seeing a crash when running my app on iOS 18 simulators or devices using Xcode 26 beta 3.

My app’s minimum deployment target is iOS 17, and the crash does not happen when running from Xcode 16.4.

The crash occurs specifically at this line:

return UIStoryboard(name: storyboard.rawValue, bundle: nil)
    .instantiateViewController(withIdentifier: view.rawValue)

Crash Details:

** 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)'
*** First throw call stack:
(0x191c3321c 0x18f0cdabc 0x191c91ea0 0x19d740774 0x19d740a18 0x19d740cac 0x194626680 0x194dbc784 0x19d740890 0x19d740cac 0x1949aadd8 0x19d740890 0x19d740a18 0x19d740cac 0x194802e24 0x1945f008c 0x194ed1808 0x107a8bfa0 0x107a8c05c 0x1945ec128 0x19d740890 0x19d740cac 0x1945eba60 0x19d740890 0x19d740a18 0x19d740cac 0x1945f07dc 0x1945eaea4 0x19492ee80 0x10763de00 0x1076e56fc 0x1076e5674 0x1076e5e04 0x19496108c 0x194f9b9a0 0x1949072c4 0x194f998cc 0x194f9af04 0x19445139c 0x19445ac28 0x194467508 0x1079afaec 0x1079aff5c 0x1944189a0 0x194417be4 0x1944114e4 0x194411404 0x194410ab4 0x19440c1e4 0x191b28a8c 0x191b288a4 0x191b28700 0x191b29080 0x191b2ac3c 0x1ded09454 0x19453d274 0x194508a28 0x1073564f4 0x1b89fff08)
terminating due to uncaught exception of type NSException

The crash occurs immediately at app launch, when attempting to load a storyboard-based UITabBarController.

Works as expected on:

  • Xcode 16.4 + iOS 18 (simulator/device)

  • Xcode 26 beta 3 + iOS 26 (simulator/device)

Running from Xcode 26 beta 3 onto iOS 18 simulators or devices and it immediate crash from the particular storyboard

Setup: Xcode: 26 beta 3

macOS: 15.5

iOS Simulators: iOS 18.5

Minimum deployment target: iOS 17

UIKit-based app (not using SwiftUI)

No custom toolbars or host views in use explicitly

  1. Is this a known compatibility issue when building with the iOS 26 SDK and running on iOS 18?
  2. Are there any workarounds or recommendations for running apps targeting iOS 17+ on iOS 18 simulators when using Xcode 26?

I also have exactly the same problem.

I have created a sample project and submitted a bug report FB18771900.

Basically any UIToolbar in a storyboard compiled with iOS 26 SDK will crash in iOS 18.

I have the same problem running a Catalyst app (compiled for iPad) on 15.5 Sequoia

Xcode 26 Beta 3 Crash on iOS 18 Simulators - NSInvalidUnarchiveOperationException (ToolbarVisualProvider8RootView missing)
 
 
Q