Building for iOS Simulator, but the linked and embedded framework 'App.frame'

2023-05-16

在使用android studio运行flutter项目时,报如下错误:

building for is simulator but the linked and embedded framework ‘app.framework’ was built for ios

这是什么问题呢?其实是项目中已经存在的App.framework和当前编译的模式不一致。解决的办法很简单:

删除 ios/Flutter/App.framework

然后运行项目,会重新生成App.framework,问题解决!

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Building for iOS Simulator, but the linked and embedded framework 'App.frame' 的相关文章

随机推荐