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的目录结构发生了变化,此时旧的配置项仍然存在,影响了新的。

posted @ 2017-04-19 16:34  预估计  阅读(839)  评论(1编辑  收藏  举报