Flutter quotes third-party plugins and reports'xxx/xxx-Swift.h' file not found

Question 1:'xxx/xxx-Swift.h' file not found

sample graph

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 ==

Example Figure 2

Example Figure Three

Compile

After modification, re-compile pod install and the problem is solved!

Guess you like

Origin blog.csdn.net/gjm_123/article/details/107408839