Skip to content
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

flutter build ios - results in following error #442

Closed
calvinmuller opened this issue Jun 6, 2019 · 4 comments
Closed

flutter build ios - results in following error #442

calvinmuller opened this issue Jun 6, 2019 · 4 comments

Comments

@calvinmuller
Copy link

calvinmuller commented Jun 6, 2019

    === 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 calvinmuller changed the title build projects results in following error flutter build ios - results in following error Jun 6, 2019
@jameshp
Copy link
Contributor

jameshp commented Jun 6, 2019

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

@tobiasgubo
Copy link

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

@tobiasgubo
Copy link

Okay flutter clean and pod update worked for me

@charafau
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants