flutter常见编译运行等奇怪问题的汇总汇(l转)

1. flutter ios 卡死在闪屏页:解决办法:

1) flutter doctor

2) flutter clean

3) flutter build ios --release

4) Archive in Xcode

 

2. flutter ios编译出现错误:

shell script invocation Error 

Command /bin/sh failed with exit code 255

解决办法:

1) flutter build ios --release
2) xcode product-->clean
3. flutter ios编译出现错误:

diff: /Users/XXXX/XXXX/XXXX/XXXX/XXXX/ios/Pods/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.
解决办法:

1) close xcode and enter ios directory
2) rm -rf Runner.xcworkspace
3) pod install


作者:Hirabbit_jaden
来源:CSDN

posted @ 2019-08-01 14:34  久依  阅读(885)  评论(0编辑  收藏  举报