flutter xcode 打包坑

每次archive,或者flutter 升级 都有点问题,记录下

1. 'connectivity/ConnectivityPlugin.h' file not found

尝试以下:

(1).删除Podfile,Podfile.lock,Pods文件夹,Runner.xcworkspace,让flutter重新生成这几个文件,就好了
(2).I solved my problem by File-> Workspace Settings changing build system to New Build System

(3).open runner.xcworkspace ,it worked! 打开workspace而不是 runner.proj

原文地址:https://www.cnblogs.com/kobewang/p/13264898.html