[!] 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에 .xcconfig 파일들은 빌드 상황에 대해서 cocoapods나 build의 기본 설정에 대해서 설명해주는 부분이다.
위의 에러 내용을 확인해보면, "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig" 를 설정한 부분이 없다고 한다.
Release.xcconfig 파일에 아래 코드를 넣어 빌드를 해주자.