![](https://img.haomeiwen.com/i2240860/0ae95e3d43f1835a.jpeg)
解决方案:终端打开flutter项目,运行
flutter build ios --release
![](https://img.haomeiwen.com/i2240860/744df3b77221e107.png)
待运行完毕,再到xcode重新进行打包,即可打出正常的ipa了。
ps:在打包前,如果你重新运行调试了ios项目,你需要在运行一遍flutter build ios --release,才能打出你需要的包。下图是命令执行前后文件变化比对
![](https://img.haomeiwen.com/i2240860/da75c0a275794393.png)
解决方案:终端打开flutter项目,运行
flutter build ios --release
待运行完毕,再到xcode重新进行打包,即可打出正常的ipa了。
ps:在打包前,如果你重新运行调试了ios项目,你需要在运行一遍flutter build ios --release,才能打出你需要的包。下图是命令执行前后文件变化比对
本文标题:Flutter ios 打包白屏
本文链接:https://www.haomeiwen.com/subject/pszobctx.html
网友评论