- 使用`$(inherited)`标志,或 - 从目标中删除构建设置。 CocoaPod Swift3 pod更新错误 [英] - Use the `$(inherited)` flag, or - Remove the build settings from the target. CocoaPod Swift3 pod update error

查看:113
本文介绍了 - 使用`$(inherited)`标志,或 - 从目标中删除构建设置。 CocoaPod Swift3 pod更新错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将Switf2项目更新为Swift3后更新cocoapods时,我在终端遇到了一些奇怪的错误。以下是错误:

I've been running into a couple of strange errors in terminal when updating cocoapods after updating a Switf2 project to Swift3. Here are the errors:

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

[!] The `MyShowGuide [Release]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-MyShowGuide/Pods-MyShowGuide.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

到目前为止,我尝试了多种方法来尝试解决问题,包括删除派生数据和运行 pod deintegrate / pod install 。我还将 $(继承)添加到其他链接器标志标题搜索路径但仍然得到错误。

So far I've tried numerous ways to try and remedy the issue including deleting derived data and running pod deintegrate/ pod install. I also added $(inherited) to the Other Linker Flags and Header Search Paths but still get the error.

推荐答案


  1. 目标 - >建筑设置 - > ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES ,值类型为布尔值,单击另一个,将值更改为
    $(继承)

  2. 执行 - pod更新

  3. 完成

  1. Target - > building settings- >ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES, Value type is Boolean, click on the other, change the value to $(inherited)
  2. perform - pod update
  3. Done

这篇关于 - 使用`$(inherited)`标志,或 - 从目标中删除构建设置。 CocoaPod Swift3 pod更新错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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