iOS-Bug收集:CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
来源:互联网 发布:不好意思网络中断日语 编辑:程序博客网 时间:2024/06/05 09:58
[!] 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
$(inherited)` flag, or
- Use the
- 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
$(inherited)` flag, or
- Use the
- 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
$(inherited)` flag, or
- Use the
- 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
$(inherited)` flag, or
- Use the
- 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,编译通过。
- iOS-Bug收集:CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- iOS开发--Xcode6: CocoaPods 错误 target overrides the `OTHER_LDFLAGS`
- 小胖说事44-----iOS 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`……”问题解决方案
- GPU初始化和启动流程(r600)
- Java NIO系列教程(八) SocketChannel
- wifidog 源码初分析(三)
- nginx-nginx环境下润乾报表“+”号重复请求
- Java虚拟机的JVM垃圾回收机制
- iOS-Bug收集:CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- Android 反编译二进制AndroidManifest.xml文件的方法
- 全屏 去除标题栏 窗口模式Activity
- setNeedsDisplay和setNeedsDisplay和layoutIfNeeded关系
- 树莓派linux驱动学习之hello world
- java.lang.SecurityException: sealing violation: package javax.servlet is sealed
- 解决ViewPager设置切换动画PageTransformer后子页无法触摸的问题
- Android 简单的图片渐变(变亮)和handler的使用
- 使用json-lib包,实现xml转json时空值被转为中括号的解决办法