在CocoaPods 0.39.0上运行pod更新时发出警告

时间:2016-01-07 07:49:07

标签: ios swift swift2 cocoapods

运行pod update命令时出现以下警告。我查了一下" $(继承)"已在构建设置中添加。

我尝试过settiong" EMBEDDED_CONTENT_CONTAINS_SWIFT"无论是和否,我都会收到这个警告。

The `Project Name[Debug]` target overrides the `EMBEDDED_CONTENT_CONTAINS_SWIFT` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

1 个答案:

答案 0 :(得分:0)

我认为Xcode EMBEDDED_CONTENT_CONTAINS_SWIFT中的Building Settings下的参数is not equal to位于文件Pods/Target Support Files/Pods/Pods.debug.xcconfig中。{/ p>

你可以尝试在这两点上使它相同。