Cocoapods 警告 - CocoaPods 没有设置您项目的基本配置,因为您的项目已经有一个自定义配置集 [英] Cocoapods Warning - CocoaPods did not set the base configuration of your project because because your project already has a custom config set

查看:26
本文介绍了Cocoapods 警告 - CocoaPods 没有设置您项目的基本配置,因为您的项目已经有一个自定义配置集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目基础上执行 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 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 是导致此问题的 Podfile.

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

http://github.com/seanoshea/BluePlaquesLondon 在 iOS 8 分支上是 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 中 - 为我修复的是将配置文件设置更改为 None 对于两个 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.

通过选择项目(而不是目标)然后选择信息选项卡可以找到配置文件设置.

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

这篇关于Cocoapods 警告 - CocoaPods 没有设置您项目的基本配置,因为您的项目已经有一个自定义配置集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆