【发布时间】:2020-05-03 14:18:51
【问题描述】:
目前在 Flutter ios 构建方面面临一些问题。然后应用程序使用flutter run 运行ios simulator 它可以工作,但如果连接了real device,同样会失败。
下面是错误代码。
Non-fat binary /Users/x/demo/build/ios/Debug-iphoneos/Runner.app/Frameworks/App.framework/App is not arm64. Running lipo -info:
Non-fat file: /Users/x/demo/build/ios/Debug-iphoneos/Runner.app/Frameworks/App.framework/App is architecture: x86_64
Command /bin/sh failed with exit code 1
架构已添加,但仍然存在此问题。
另外,我确实尝试安装 pod 或更新它,但仍然没有相同的好处。
编辑:附上 Flutter Doctor 图片。
【问题讨论】:
标签: ios xcode flutter compiler-errors runtime-error