flutter_webview_plugin
flutter_webview_plugin copied to clipboard
flutter build ios - results in following error
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc
Inference" build setting to "Default" for the "Runner" target.
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc
Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
Non-fat binary /Users/xxx/iStreet/Mobile/xxx/build/ios/Release-iphoneos/Runner.app/Frameworks/flutter_webview_plugin.framework/flutter_webview_plugin is not armv7. Running lipo -info:
Non-fat file: /Users/xxx/iStreet/Mobile/xxx/build/ios/Release-iphoneos/Runner.app/Frameworks/flutter_webview_plugin.framework/flutter_webview_plugin is architecture: arm64
Command /bin/sh failed with exit code 1
Encountered error while building for device.
Any ideas?
Have currently the same issue. I found now this, but wasn't trying the suggestion yet. https://stackoverflow.com/questions/56330184/how-to-switch-flutter-plugin-architecture-from-arm64-to-armv7
having the same issue @calvinmuller were you already able to fix it?
Okay flutter clean and pod update worked for me
I think we need more info, we're using the plugin in our app and it compiles without any problem. What is your config ?