大家可以说说flutter开发的一些坑
最近在学习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了很多,但是都解决不了。