CocoaPods did not set the base configuration of your project 问题解决方式

今天在使用pod install的时候。出现了

[!] 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 `项目名` to `Pods/Target Support Files/Pods-项目名/Pods-项目名.release.xcconfig` or include the `Pods/Target Support Files/Pods-项目名/Pods-项目名.release.xcconfig` in your build configuration.



解决方式例如以下:



把第3步箭头所指的地方改成如图所看到的的None就可以。


我出现这问题是由之前的单个target改为了多个target,pod的文件夹结构发生了变化。此时旧的配置项仍然存在。影响了新的。

原文地址:https://www.cnblogs.com/slgkaifa/p/6752368.html