pod install時に以下のエラーが出て、なかなかGPT先生に相談して進めていたが埒が開かず。
結果的にネットで見つけた以下の対応で解消した。
●メッセージ
[!] 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
).
●対策
“ios/Flutter/Release.xcconfig”に1行追加するだけ。
# ios/Flutter/Release.xcconfig
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include? "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig" # この1行を追加
#include "Generated.xcconfig"