I'm encountering the following issue when trying to integrate CocoaPods into my Flutter iOS project:
[!] 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-shared_pods-Runner/Pods-shared_pods-Runner.debug.xcconfig" or include the "Target Support Files/Pods-shared_pods-Runner/Pods-shared_pods-Runner.debug.xcconfig" in your build configuration ("Flutter/Debug.xcconfig").
[!] 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-shared_pods-Runner/Pods-shared_pods-Runner.release.xcconfig" or include the "Target Support Files/Pods-shared_pods-Runner/Pods-shared_pods-Runner.release.xcconfig" in your build configuration ("Flutter/Release.xcconfig").
[!] 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-shared_pods-Runner/Pods-shared_pods-Runner.profile.xcconfig" or include the "Target Support Files/Pods-shared_pods-Runner/Pods-shared_pods-Runner.profile.xcconfig" in your build configuration ("Flutter/Release.xcconfig").
Steps taken:
How can I resolve the issue where CocoaPods fails to set the base configuration because of custom configurations in my Flutter iOS project? I've tried adjusting the configurations but still receive the same warning.
I was having this issue as well, I found the answer here:
https://stackoverflow.com/a/27039447/23618150
(I develop in VSCode, the terminal inside of it is where all my commands will be ran from.)
Go to the IOS directory and open the xcworkspace in Xcode
cd IOS
open runner.xcworkspace
pod install
and it reinstalled the pods and it did not give me the warnings again. Though when I go back into Xcode and look at the configs, it automatically put them back, but I believe it is supposed to.