Xcode 26 beta iOS 16 crash Symbol not found: _UIMenuAutoFill

when launch my app from the Xcode 26 beta on iOS 16 I get this crash:

  Referenced from: <BB79205B-F03B-382A-A5D7-3F0C8A3135E5> /private/var/containers/Bundle/Application/7C842707-BB01-4C34-A2E0-318DC6E5B3D8/My APP.app/My APP.debug.dylib
  Expected in:     <44798FBF-5AD6-37FB-A58C-DE1B58F2A2E7> /System/Library/Frameworks/UIKit.framework/UIKit
Symbol not found: _UIMenuAutoFill
  Referenced from: <BB79205B-F03B-382A-A5D7-3F0C8A3135E5> /private/var/containers/Bundle/Application/7C842707-BB01-4C34-A2E0-318DC6E5B3D8/My APP.app/My APP.debug.dylib
  Expected in:     <44798FBF-5AD6-37FB-A58C-DE1B58F2A2E7> /System/Library/Frameworks/UIKit.framework/UIKit
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

Are you able to share more details? For example, could you post the full crash report, or provide a sample project that reproduces this in a feedback report. UIMenuAutoFill is API first introduced in iOS 17, so this crash indicates that something is trying to reference that API in your app on iOS 16 where it doesn't exist.

I am experiencing this issue as well. When I try to run on 16.0, I receive this error: Symbol not found: _UIAccessibilityTraitToggleButton. We do use the toggleButton accessibility trait, but it is always wrapped in a if #available(iOS 17, *).

The app is successfully building, so I think that means the code is correct. I get the error on runtime, so I'm wondering if this is a beta issue (I'm on Xcode 26 beta 5). Maybe the #available flag is being ignored?

I've submitted a ticket for my instance of the issue:

FB19445364 (iOS 16 Simulators crash due to iOS 17 symbols - Xcode 26 beta 5)

Moved my feedback ticket to FB19548156 (iOS 16 Simulators crash due to iOS 17 symbols - Xcode 26 beta 5)

My issue with iOS 15/16 was resolved with the Xcode 26 beta 6, although a similar issue persists on visionOS 2.0

Xcode 26 beta iOS 16 crash Symbol not found: _UIMenuAutoFill
 
 
Q