Flutter quotes third-party plugins and reports'xxx/xxx-Swift.h' file not found
Question 1:'xxx/xxx-Swift.h' file not found
solution
Add in 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)
solution
Find the corresponding third party
Corresponding path: pod/xxx.podspec
add: == s.static_framework =t rue ==
Compile
After modification, re-compile pod install and the problem is solved!