美文网首页FlutterFlutter圈子Flutter
error: Building for iOS, but the

error: Building for iOS, but the

作者: 青小城 | 来源:发表于2020-03-27 12:03 被阅读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 即可解决该问题。

相关文章

网友评论

    本文标题:error: Building for iOS, but the

    本文链接:https://www.haomeiwen.com/subject/gxlluhtx.html