2014-12-03 151 views
5

我对CocoaPod有非常不好的问题。我不得不为约塞米蒂更新Cocoa pods。然后我跑吊舱更新,并得到了以下警告消息:可可豆荚的问题

[!] 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链接,但不知道在哪里放置的代码?

+0

_step 1.:_消除的CocoaPods; _step 2.:_使用GIT(或其他可靠的解决方案); _step 3.:_你根本不需要感谢我,只是享受。 – holex 2014-12-03 15:19:52

+0

@holex如何去除cocoapods? – DevC 2014-12-03 15:21:36

+0

我不知道你是如何将它添加到你的项目,老实说... – holex 2014-12-03 15:22:33

回答

14

基于Mefs链接,我能够得到它的工作。如果有人想知道将$(inherited)放在哪里,请将其放入项目的Other linker Flags部分。

enter image description here