dyld: Symbol not found: _$sSo18OS_dispatch_sourceC8DispatchE19MemoryPressureEventVs23CustomStringConvertibleACMc

Upgraded Xcode from 15.2 to 16. App runs properly on iOS 18 Simulator for Xcode 16 but crashes on iOS 17.5, 17.4 & 17.2 immediately after build successfully.

dyld[60620]: Symbol not found: _$sSo18OS_dispatch_sourceC8DispatchE19MemoryPressureEventVs23CustomStringConvertibleACMc Referenced from: <59369128-9EA5-3CF7-8CCF-7C754D9EE639> /Users/siddheshwarashokkathale/Library/Developer/CoreSimulator/Devices/E18F8D1F-764C-4491-B471-5BBB52A327EF/data/Containers/Bundle/Application/A257613C-3000-41F6-92EF-287E45D3A9D5/Arch.app/Arch.debug.dylib Expected in: <5E0473C0-C3FF-3BFB-9712-1CFB1372EA49> /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftDispatch.dylib Message from debugger: Terminated due to signal 6

App runs properly on iOS 18 Simulator for Xcode 16 but crashes on iOS 17.5, 17.4 & 17.2

On the simulator? Or on real devices?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I'm seeing the same thing when building in Xcode16 and running in IOS 17.x simulators

If you demangle the symbol it's a protocol conformance. It looks like this conformance to CustomStringConvertible was added in iOS 18, so works there, but not on iOS 17. Don't rely on the protocol on iOS 17 and before and you should be good.

My project has exactly the same behavior. The application crashes on versions 17.x, but works on versions 18+. Before updating the version of xcode, everything worked fine. dyld[18330]: Symbol not found: _$sSo9WKWebViewC6WebKitE9createPDF13configuration17completionHandlerySo18WKPDFConfigurationC_ys6ResultOy10Foundation4DataVs5Error_pGctF Referenced from: <68F98BF6-B325-3B0A-B3F2-583382B06506> /Users/intas/Library/Developer/CoreSimulator/Devices/76208E11-DB62-41FF-A306-B84320700480/data/Containers/Bundle/Application/3AFB19EF-1CC3-451D-B3F3-046337813783/MonitorTSOM.app/MonitorTSOM.debug.dylib Expected in: <A586B81C-6C7B-3A2B-A856-AC20274A7ED8> /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit

dyld: Symbol not found: _$sSo18OS_dispatch_sourceC8DispatchE19MemoryPressureEventVs23CustomStringConvertibleACMc
 
 
Q