2014-12-03 155 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