iosxcodecocoapods

Cocoapods Warning - CocoaPods did not set the base configuration of your project because because your project already has a custom config set


After I execute a pod install at the base of my project, I get the following error:

CocoaPods did not set the base configuration of your project because 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 BluePlaquesLondonFramework to Pods/Target Support Files/Pods/Pods.debug.xcconfig or include the Pods/Target Support Files/Pods/Pods.debug.xcconfig in your build configuration.

This probably sounds like a silly question, but how do I set the base configuration for a target?

https://github.com/seanoshea/BluePlaquesLondon/blob/ios8/Podfile is the Podfile which is causing this issue.

http://github.com/seanoshea/BluePlaquesLondon on the iOS 8 branch is the Podfile in question if you're curious to see what the project looks like.


Solution

  • I had the same problem, but in Xcode 6.1.1 - what fixed it for me was to change the configuration file setting to None for the two Pods-related targets, then run pod install again.

    The configuration file setting is found by selecting the project (not the target) and then the Info tab.

    This is what it looks like in Xcode 15.4. Repeat None for all configurations.

    Xcode 15.4 screenshot