Closed 17600777607 closed 2 years ago
@17600777607 have you tried running this command?
Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
@17600777607 also, please give this issue a name in English
I got the same error some days ago. update the code to null safety, then it was work well.
I got the same error some days ago. update the code to null safety, then it was work well.
Hi @joliu1019, I am also getting the same error mentioned above. How did you update the code to null safety to get around the issue?
I got the same error some days ago. update the code to null safety, then it was work well.
Hi @joliu1019, I am also getting the same error mentioned above. How did you update the code to null safety to get around the issue?
I just followed the instructions here ("https://stackoverflow.com/questions/66648374/how-to-migrate-code-to-null-safety-in-dart") and migrated my test code to null safety. But I am still getting the same issue. @joliu1019 , could you please explain how you got the "flutter_macos_webview" plugin working on your Mac?
Never mind... I figured out how to fix this. I just need to re-compile Runner.xcodeproj with macOS Deployment Target set to my current Mac OS version (10.15)!
@weifengsonos @joliu1019 @17600777607 I've just published new version with null-safety support, please check if it resolves issue
@vanelizarov Thanks for the updated version! The problem that I am seeing now is the issue below, which is one of the closed issues. I don't know how to fix this.
flutter: Error: 2, WebResourceErrorType.webContentProcessTerminated, WKErrorDomain, Error Domain=WKErrorDomain Code=2 "(null)"
@weifengsonos nah, for me it's a random issue, you can simply reload the webview
CocoaPods' output: ↳ Preparing
Error output from CocoaPods: ↳ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rbconfig.rb:229: warning: Insecure world writable dir /usr/local/sbin in PATH, mode 040777 Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
Exception: Error running pod install