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

查看:1306
本文介绍了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 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屋!

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