ios - 更新和添加新的 pod ios 时出错

标签 ios xcode cocoapods

我在将新的 pod 文件添加到现有文件时遇到错误。 然后我运行命令进行更新,但它显示以下错误。

iPhonePoker [Release] 目标覆盖了 Pods/Target Support Files/Pods/Pods.release.xcconfig' 中定义的 HEADER_SEARCH_PATHS build设置。 这可能会导致 CocoaPods 安装出现问题

  • 使用$(inherited)标志,或者

  • 从目标中删除build设置。

[!] iPhonePoker [AdHoc] 目标覆盖定义的 HEADER_SEARCH_PATHS build设置

Pods/Target Support Files/Pods/Pods.adhoc.xcconfig' 中。

这会导致 CocoaPods 安装出现问题

  • 使用$(inherited)标志,或者

  • 从目标中删除build设置。 COG-MAC-003:PT

请检查一下,让我知道哪里错了

最佳答案

在您的项目中转到项目目标build设置>其他链接器标志>双击。 添加 $(inherited)

关于ios - 更新和添加新的 pod ios 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32776839/

相关文章:

ios - 在应用程序上覆盖文本以显示调试信息

ios - UITextField 光标大小减小

ios - 共享扩展模式演示样式 iOS 13 无法正常工作

iphone - 停止模态 UIViewController 旋转

ios - 加载 WebView 时 Swift 中的 EXC_BAD_INSTRUCTION

iphone - 导入新类包或“系统”的最佳方法?

swift - Thread 1 : EXC_BAD_ACCESS (code=2, address=0x10cb21d98) while running the code

xcode - Cocoapods 的 NSLocalizedString

iOS7 : Not able to add search bar to Navigation Controller

ios - UITableView 调用 cellFor row 但不在 UI 中绘制