[!] The `Paopao [Debug]` target overrides the `PODS_ROOT` build setting defined in `Pods/Target Supp
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,编译通过。
参考资料
- http://stackoverflow.com/a/18730481
- http://www.cnblogs.com/ludashi/p/4046691.html
[!] The `Paopao [Debug]` target overrides the `PODS_ROOT` build setting defined in `Pods/Target Supp相关推荐
- target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target S
解决方案:Targets->Build Settings->Combined(All)搜索ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES,选中 选项,按下电脑的 ...
- CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
Xcode 升级到 6.0 后,更新 CocoaPods,出现了如下的警告 [!] The `Paopao [Debug]` target overrides the `PODS_ROOT` buil ...
- CocoaPod出现“target overrides the `OTHER_LDFLAGS`……的解决方案
今天在项目中引入AFNetworking. Podfile的内容 platform :ios, '7.0' pod "AFNetworking", "~> 2.0& ...
- could not find included file 'pods/target support files/pods-runner/pods-runner.debug.xcconfig 什么问题
从GitHub上面下载了 跨平台的蓝牙放在XCode 下运行 回出现这个问题 已经用过 flutter packages get , 在android studio 下都没问题. Showing A ...
- iOS-Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target xxx and build conf
项目中有xxx.Entitlements文件,Entitlements其实是一个配置文件,对于一些要开启的app功能,需要使用Entitlements文件来做配置.Entitlements文件管三个东 ...
- sceneManager.loadscene加载场景时不会主动去加载场景的依赖包,要手动加载或添加场景到build setting列表中...
sceneManager.loadscene加载场景时不会主动去加载场景的依赖包,要手动加载或添加场景到build setting列表中 假设有一场景1001.unity,,manifest文件如下: ...
- iOS12-Swift5-Xcode10 Buildtime错误:/xx/Pods/Target Support Files/Pods-xx/Pods-xx.d
Xcode-Buildtime错误: /Users/项目路径/Pods/Target Support Files/Pods-当前target名/Pods-当前target名.debug.xcconfi ...
- 给定一个 n 个元素有序的(升序)整型数组 nums 和一个目标值 target ,写一个函数搜索 nums 中的 target,如果目标值存在返回下标,否则返回 -1。
给定一个 n 个元素有序的(升序)整型数组 nums 和一个目标值 target ,写一个函数搜索 nums 中的 target,如果目标值存在返回下标,否则返回 -1. JAVA: class So ...
- Build Setting 之 Code Signing 详解
最近看了objc.io上第17期中的文章 <Inside Code Signing> 对应的中文翻译版 <代码签名探析> ,受益颇深,对iOS代码签名机制有了进一步的认识.想了 ...
- ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARC
sudo gem install jekyll安装报错 Building native extensions. This could take a while... ERROR: Error inst ...
最新文章
- 网页性能优化之异步加载js文件
- [Poi2010]Antisymmetry
- 平安、招行、工行、微众、网商们怎么都在布局卫星物联网?
- ubuntu php 无法执行exec_利用webhook使php项目自动部署
- DirectX API 编程起步 #01 项目设置
- Leetcode重点250题
- 中国卡曼涡气流传感器行业市场供需与战略研究报告
- [WC2018]即时战略——动态点分治(替罪羊式点分树)
- matlab pca重构,如何反转PCA并从几个主要组成部分重建原始变量?
- android 清理 app,最好用的五大手机清理APP
- iptable端口重定向 MASQUERADE
- codewars练习(javascript)-2021/3/21
- C++核心准则边译边学-I.6 表达前提条件最好使用Expects()
- ​保时捷拟IPO:估值或超800亿美元 与大众有多年恩怨情仇
- 年份计算器-python
- 典型环节(或系统)的频率特性测量
- python安装与程序_二、Python安装和第一个程序
- Android 三星手机拍照图片旋转处理
- 指针、结构体、枚举类和文件
- UTC和GMT时间辨析