Flutter集成到原生遇到的问题
1、将 Flutter module 集成到 iOS 项目方式
三种方式:https://flutter.cn/docs/development/add-to-app/ios/project-setup
对比之前用脚本集成方式:https://www.kikt.top/posts/flutter/exists/add-flutter-to-ios/
2、pod时gRPC-Core 卡顿的原因
https://www.nstack.in/blog/grpc-ios-stuck/
解决方案:等待
3、Undefined symbols for architecture arm64

解决方案:https://github.com/firebase/firebase-ios-sdk/issues/5076
adding -lc++ to linker flags, added libc++.tbd
4、# [Undefined symbols for architecture armv7: “_SCNetworkReachabilityCreateWithAddress”]

解决方案:added SystemConfiguration.framework
5、flutter build ios-framework Some plugin debug framework creation failing
(Unable to create universal FBLPromises.framework)

解决方案:

https://github.com/flutter/flutter/issues/70563
6、使用arm64架构时,报如下错误

注:无法编译成功
解决方案:https://www.jianshu.com/p/4ebdb02ad887
7、Xcode Command PhaseScriptExecution failed with a nonzero exit code

解决方案:https://blog.csdn.net/qq_40697071/article/details/99055070
8、pod无法成功

解决方案:设置一样的版本
9、库没有链接成功,导致引用的文件找不到

解决方案:http://www.cocoachina.com/articles/18737
https://blog.csdn.net/chokshen/article/details/108882766 (查看库支持的架构)
10、symbol(s) not found for architecture arm64解决办法
解决方案:https://blog.csdn.net/c_chang/article/details/52953327
11、Flutter 打包报错 : Unknown FLUTTER_BUILD_MODE: xxx

解决方案:https://www.cnblogs.com/kingbo/p/11394631.html
12、C++ modules不能加载的错误

解决方案:Other C++ Flags 添加 -fcxx-modules
13、error: 'Flutter/Flutter.h' file not found when flutter run on IOS Mobile

14、Dart Error: Can't load Kernel binary: Invalid kernel binary format version
解决方案:flutter clean ,flutter build iOS