Flutter应用提交AppStore构建问题解决

上篇文已经成功将flutter运行在了iOS设备上,要提交AppStore,需要在Xcode中编译构建archive文件,而构建之前,需要使用终端在项目目录下执行 flutter build ios 命令后再构建archive文件,这时候可能会遇到2个问题(GeneratedPluginRegistrant Module ‘connectivity’ not found和error: The linked framework ‘Pods_Runner.framework’ is missing one or more
architectures required by this target: armv7. (in target ‘Runner’ from project
‘Runner’),如需要详细看到flutter build 等命令执行log,可以加-v参数,即 flutter -v build ios.

继续阅读