Cocoapods警告 - CocoaPods没有设置项目的基本配置,因为您的项目已经有自定义配置集 [英] Cocoapods Warning - CocoaPods did not set the base configuration of your project because because your project already has a custom config set
问题描述
在我的项目基础上执行 pod install
后,我收到以下错误:
After I execute a pod install
at the base of my project, I get the following error:
CocoaPods没有设置项目的基本配置,因为您的项目已经有自定义配置集。为了使CocoaPods集成完全可用,请将目标
BluePlaquesLondonFramework
的基本配置设置为Pods / Target Support Files / Pods / Pods。 debug.xcconfig
或在构建配置中包含Pods / Target Support Files / Pods / Pods.debug.xcconfig
。
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
toPods/Target Support Files/Pods/Pods.debug.xcconfig
or include thePods/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是造成此问题的Podfile。
https://github.com/seanoshea/BluePlaquesLondon/blob/ios8/Podfile is the Podfile which is causing this issue.
http iOS 8分支上的://github.com/seanoshea/BluePlaquesLondon 是一个有问题的Podfile,如果你很想知道项目的样子。
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.
推荐答案
我遇到了同样的问题,但在Xcode 6.1.1中 - 为我修复的是将两个Pods相关目标的配置文件设置更改为无
,然后运行 pod install
再次。
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.
通过选择项目(不是目标),然后选择Info选项卡,可以找到配置文件设置。
The configuration file setting is found by selecting the project (not the target) and then the Info tab.
这篇关于Cocoapods警告 - CocoaPods没有设置项目的基本配置,因为您的项目已经有自定义配置集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!