我在使用 CocoaPod
时遇到了非常严重的问题。我必须为 Yosemite 更新 Cocoa pods
。然后我运行 pod update 并收到以下警告消息:
[!] The `app [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
和
[!] The `app [Debug]` target overrides the `OTHER_LDFLAGS` 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.
编辑:
我点击了@mef 链接但不知道将代码放在哪里?
最佳答案
基于 Mefs 链接,我能够让它工作。如果有人想知道将 $(inherited)
放在哪里,请将其放在项目的 Other linker Flags
部分。
关于ios - cocoa pod 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27274980/