I'm encountering an issue when trying to run the iOS Simulator 18.4 or newer with Xcode 16.4 and later, including beta versions like Xcode 26 beta. The simulator fails to launch with the following error:
dyld[50998]: Library not loaded: /usr/lib/swift/libswiftWebKit.dylib
Referenced from: <65B82F6E-9DAE-38B8-A416-2725E93B8830> /Users/[REDACTED]/Library/Developer/CoreSimulator/Devices/E375287B-CE5C-4436-BAF7-FC958EE1E2A2/data/Containers/Bundle/Application/94B733EB-B7E8-4020-8B37-007C55AA3647/[APP_NAME].app/[APP_NAME].debug.dylib
Reason: tried: '/Users/[REDACTED]/Library/Developer/Xcode/DerivedData/[APP_NAME]-gidspjmnvitfrncaixlzyoxyqhfz/Build/Products/Debug-iphonesimulator/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftWebKit.dylib' (no such file), '/usr/lib/swift/libswiftWebKit.dylib' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libswiftWebKit.dylib' (no such file)
What works:
With Xcode 16.3, I can successfully run all simulators, including iOS 18.3.1 and 18.4.
What fails:
Starting with Xcode 16.4, only the iOS 18.3.1 simulator launches successfully.
Attempting to run iOS 18.4 or 18.5 results in the above error.
What I've tried:
Cleaned build folder
Deleted derived data
Reset and reinstalled simulators via Xcode’s Devices & Simulators window
Reinstalled Xcode entirely (including command line tools)
Has anyone else experienced this issue with Xcode 16.4+ and iOS 18.4+ simulators? Any known workarounds or fixes?
Thanks in advance for any help!
Selecting any option will automatically load the page