您的位置:首页 > 产品设计 > UI/UE

the-target-overrides-the-other-ldflags-build-setting-defined-in-pods-pods

2015-07-26 21:55 483 查看
http://stackoverflow.com/questions/18376416/the-target-overrides-the-other-ldflags-build-setting-defined-in-pods-pods

事情是这样的 weibo sdk 叫我在the other flags中添加-objc,结果pods就一直报错

Downloading dependencies

Using AFNetworking (2.5.4)

Generating Pods project

Integrating client project

[!] The `shengyin [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-shengyin/Pods-shengyin.debug.xcconfig'. This can lead to problems with the CocoaPods installation

- Use the `$(inherited)` flag, or

- Remove the build settings from the target.

[!] The `shengyin [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-shengyin/Pods-shengyin.release.xcconfig'. This can lead to problems with the CocoaPods installation

- Use the `$(inherited)` flag, or

- Remove the build settings from the target.

后来选中这个 the other flag 直接delete删除之后就好了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: