– 使用`$(inherited)`标志,或 – 从目标中删除构建设置。 CocoaPod Swift3 pod更新错误

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

[!] 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 。 我还将$(inherited)添加到Other Linker FlagsHeader Search Paths但仍然得到错误。

  1. 目标 – >建筑设置 – > ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES ,值类型为布尔值,单击另一个,将值更改为$(inherited)
  2. 执行 – pod更新
  3. 完成