小胖说事44-----iOS cocoaPods错误: target overrides the `OTHER_LDFLAGS`...
来源:互联网 发布:视频动态logo制作软件 编辑:程序博客网 时间:2024/05/16 09:07
Xcode6: CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
Xcode 升级到 6.0 后,更新 CocoaPods,出现了如下的警告
[!] The `Paopao [Debug]` target overrides the `PODS_ROOT` 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.
[!] The `Paopao [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.
[!] The `Paopao [Release]` target overrides the `PODS_ROOT` 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 `Paopao [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.
这种警告是不能忽视的,它带来的直接后果就是无法通过编译。
而产生此警告的原因是项目 Target 中的一些设置,CocoaPods 也做了默认的设置,如果两个设置结果不一致,就会造成问题。
我想要使用 CocoaPods 中的设置,分别在我的项目中定义`PODS_ROOT` 和 `Other Linker Flags`的地方,把他们的值用`$(inherited)`替换掉,进入终端,执行
pod update
警告没了,回到 Xcode,build通过。
网上还流行另外一种简单粗暴的方法
点击项目文件 project.xcodeproj,右键`显示包内容`,用文本编辑器打开`project.pbxproj`,删除`OTHER_LDFLAGS`的地方,保存,回到 Xcode,编译通过。
0 0
- 小胖说事44-----iOS cocoaPods错误: target overrides the `OTHER_LDFLAGS`...
- iOS开发--Xcode6: CocoaPods 错误 target overrides the `OTHER_LDFLAGS`
- iOS-Bug收集:CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- Xcode6: CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- Xcode6: CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- CocoaPods 错误 target overrides the `OTHER_LDFLAGS`
- CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- Cocoapods无法找到头文件,CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- iOS cocoapods类库引入头文件crash(The `XXX [Debug]` target overrides the `OTHER_LDFLAGS` build setting)
- [操作系统]iOS开发之使用CocoaPods更新第三方出现“target overrides the `OTHER_LDFLAGS`……”问题解决方案
- iOS开发之使用CocoaPods更新第三方出现“target overrides the `OTHER_LDFLAGS`……”问题解决方案
- 使用cocoapods 安装第三方框架报错target overrides the `OTHER_LDFLAGS`。。的解决方案
- target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.
- cocoaPods 安装第三库出现错误(target overrides the `USER_HEADER_SEARCH_PATHS` build setting defined in `Pods/)
- The target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig
- cocopods install或update 安装或更新第三方库时,报The ... target overrides the 'OTHER_LDFLAGS' build setting....
- iOS开发之使用CocoaPods更新第三方出现“target overrides the `CLANG_CXX_LANGUAGE_STANDARD`……”问题解决方案
- C语言文件与目录(一)
- Gson 和Json解析
- 三星冰箱再发力 带领行业走出严冬
- 日军甲种师团
- 链表操作--逆序
- 小胖说事44-----iOS cocoaPods错误: target overrides the `OTHER_LDFLAGS`...
- Eclipse/MyEclipse常用快捷键
- C++11 标准新特性:Defaulted 和 Deleted 函数
- 球谐函数
- 小胖说事45-----iOS hitTest:withEvent:方法流程
- java.sql.SQLException: Access denied for user 'root'@'localhost' (using password:YES)错误
- 用分部积分推导梯形数值积分公式
- android获取手机基本信息
- 【Xcode】【iOS-pod】The sandbox is not sync with the Podfile.lock