[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig in your build configuration (Flutter/Release.xcconfig).
[!] CocoaPods沒有設置項目的基本配置,因為您的項目已經有一個自定義配置集。為了讓CocoaPods集成工作,請將目標“Runner”的基本配置設置為“target Support Files/Pods Runner/Pods-Runner.profile”。xcconfig或包含“Target Support Files/Pods Runner/Pods-Runner.profile”。xcconfig在構建配置中(Flutter/Release.xcconf)。

image.png
Release.xcconfig 添加:
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"
#include "Generated.xcconfig"
Debug.xcconfig 添加:
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
再次 pod install
pod instal
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 27 dependencies from the Podfile and 35 total pods installed.