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

来源:互联网 发布:新乡市网络培训学校 编辑:程序博客网 时间:2024/06/13 21:56

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删除之后就好了。

0 0
原创粉丝点击