flutter_webview_plugin icon indicating copy to clipboard operation
flutter_webview_plugin copied to clipboard

flutter build ios - results in following error

Open calvinmuller opened this issue 7 years ago • 4 comments

    === 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?

calvinmuller avatar Jun 06 '19 11:06 calvinmuller

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

jameshp avatar Jun 06 '19 17:06 jameshp

having the same issue @calvinmuller were you already able to fix it?

tobiasgubo avatar Jun 12 '19 15:06 tobiasgubo

Okay flutter clean and pod update worked for me

tobiasgubo avatar Jun 13 '19 08:06 tobiasgubo

I think we need more info, we're using the plugin in our app and it compiles without any problem. What is your config ?

charafau avatar Jun 13 '19 12:06 charafau