Flutter 引用第三方插件 报'xxx/xxx-Swift.h'file not found
问题一、 'xxx/xxx-Swift.h’file not found
解决方案
在Podfile 文件添加 use_frameworks!
问题二、target has transitive dependencies that include statically linked binaries
// error
[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/xxx/project/ios/Pods/AMapSearch/AMapSearchKit.framework)
解决方案
找到对应的第三方
对应路径: pod/xxx.podspec
添加 : == s.static_framework =t rue ==
编译
修改完毕后 ,重新pod install 编译,问题解决!