美文网首页
CocoaPods运行时警告

CocoaPods运行时警告

作者: 售前界的不死小强 | 来源:发表于2017-02-14 15:39 被阅读79次

在swift3.0的项目里面使用pod install 出现以下警告 [!] The `SuperCode [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-SuperCode/Pods-SuperCode.release.xcconfig'. This can lead to problems with the CocoaPods installation

- Use the `$(inherited)` flag, or

- Remove the build settings from the target.

看着如图的警告,感觉警告等级有点高,所以就去网上查了资料。

最后在stackFlow找到了答案。链接如下:stackoverflow.com/questions/39569743/errors-after-updating-to-xcode-8-no-such-module-and-target-overrides-the-em/39812624

操作步骤如下:

1.找到你所在的Project,选择Build Settings,在搜索框输入Alway,就会自动出现如图1的界面。

1.png

2.点击该选项,在弹出的界面里选择Other。在弹出框里面输入$(inherited)。

2.png 3.png

3.pod install。

相关文章

网友评论

      本文标题:CocoaPods运行时警告

      本文链接:https://www.haomeiwen.com/subject/qrixwttx.html