大家可以说说flutter开发的一些坑

Facechat Facechat 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
最近在学习google的flutter,虽然flutter经过那么久的开发,已经日益完善,但是开发过程中还是会有许多坑。
在这我先说说我碰到的坑:
在andriod模拟器上调试正常,但是在ios模拟器上就会报错,
报错信息:
Launching lib/main.dart on iPhone X in debug mode...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
** BUILD FAILED **

Xcode's output:
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Could not build the application for the simulator.
Error launching application on iPhone X.
也google了很多,但是都解决不了。
...全文

相关推荐

评论 6
收藏 已收藏
分享
返回顶部