为什么Cocoapods抱怨嵌入式内容在构建设置中包含快速设置? [英] Why is Cocoapods complaining about the embedded content contains swift setting in the build settings?

查看:58
本文介绍了为什么Cocoapods抱怨嵌入式内容在构建设置中包含快速设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将快速文件添加到了测试目标中(结合了较早的可可触摸类)。

I recently added swift files to my test target (combined with older cocoa touch classes).

为什么可可豆抱怨嵌入式内容在构建中包含快速设置

Why is cocoapods complaining about the embedded content contains swift setting in the build settings?


[!] YOURP-PROJECT-Tests [Debug]目标会覆盖
中定义的
EMBEDDED_CONTENT_CONTAINS_SWIFT构建设置$ b Pods /目标支持
文件/Pods-YOUR-PROJECT-Tests/Pods-YOUR-PROJECT-Tests.debug.xcconfig。
这可能会导致CocoaPods安装问题

[!] The YOURP-PROJECT-Tests [Debug] target overrides the EMBEDDED_CONTENT_CONTAINS_SWIFT build setting defined in Pods/Target Support Files/Pods-YOUR-PROJECT-Tests/Pods-YOUR-PROJECT-Tests.debug.xcconfig. This can lead to problems with the CocoaPods installation


推荐答案

我需要添加$(继承)标志到构建设置

I needed to add the $(inherited) flag to the build setting

这篇关于为什么Cocoapods抱怨嵌入式内容在构建设置中包含快速设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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