-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
App Crash on iOS 18.5 Simulator #2636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue for me, no solution for now |
crashing on 18.4 as well |
Probably regression issue with #2584 and #1495 I'm also facing this issue just now after upgrade Flutter to 3.32.1 and Xcode to 16.4 WITH SAME flutter_inappwebview version. Now I'm thinking like @TatsuUkraine in #2584 discussion since this randomly happens on some people. I suspect the problem is coming from Simulator especially Simulator with Rosetta bcs in my case there is an ios library that explicitly can only run in Simulator x86_64 (which should run with Rosetta if machine host is Apple Silicon). |
after some research, this is not related with Simulator x86_64 that should be run using Rosetta in Apple Silicon host machine. This error only occur if you're running on Simulator iOS 18.4 or newer unless your IPHONEOS_DEPLOYMENT_TARGET is 18.4 or higher. In other word, if your deployment target is below 18.4 then you might not be able to run on Simulator iOS 18.4 or newer. Downgrade Simulator to iOS 18.3.1 is worked for me to run. Below references may help you guys on this issue. |
Tested with iOS 18.3.1 simulator, works for me as well However on iOS 18.5,
|
If you're encountering this issue on an Apple Silicon Mac, you can resolve it by installing Rosetta using the following command: sudo softwareupdate --install-rosetta --agree-to-license |
@NazmiBecerik I ran the command u entered it didnt work. |
so will downgradung xcode work? |
thats a huge one! Any fixes ?? |
I had the same issue when running my Flutter app with Here's what worked for me without changing the deployment target: ✅ Workaround: Set
|
That's a bit tricky but I would like not recommend that way because it pointing directly to a disk image of simulator and not flexible if you working in a team or well organized company. Instead, you can use my alternative by install a bit lower version of simulator such as 18.3.1 as well. |
Is there an existing issue for this?
Current Behavior
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: DYLD 1 Library missing
Library not loaded: /usr/lib/swift/libswiftWebKit.dylib
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/DDCFE1F5-071E-451A-B1D7-E7EA176DC77B/data/Containers/Bundle/Application/838BDBEC-F5E8-4B02-99F2-9858C8BC8D1E/Runner.app/Frameworks/flutter_inappwebview_ios.framework/flutter_inappwebview_ios
Reason: tried: '/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)
(terminated at launch; ignore backtrace)
Expected Behavior
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: DYLD 1 Library missing
Library not loaded: /usr/lib/swift/libswiftWebKit.dylib
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/DDCFE1F5-071E-451A-B1D7-E7EA176DC77B/data/Containers/Bundle/Application/838BDBEC-F5E8-4B02-99F2-9858C8BC8D1E/Runner.app/Frameworks/flutter_inappwebview_ios.framework/flutter_inappwebview_ios
Reason: tried: '/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)
(terminated at launch; ignore backtrace)
Steps with code example to reproduce
Steps with code example to reproduce
// Paste your code here
Stacktrace/Logs
Stacktrace/Logs
Flutter version
Flutter version 3.32.0
Operating System, Device-specific and/or Tool
iOS 18.5
Plugin version
latest
Additional information
No response
Self grab
The text was updated successfully, but these errors were encountered: