FlutterFlutter圈子Flutter

error: Building for iOS, but the

2020-03-27  本文已影响0人  青小城

Flutter 问题描述:error: Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator. (in target 'Runner' from project 'Runner')

问题原因:Xcode升级到11.4版本后,运行虚拟机后 再运行在真机上报如上异常

解决方案:
https://flutter.dev/docs/development/ios-project-migration

https://github.com/flutter/flutter/issues/50568

最后再执行 flutter build iOS 即可解决该问题。

上一篇下一篇

猜你喜欢

热点阅读