CocoaPods 出现 OTHER_LDFLAGS 错误的解决方法
来源:互联网 发布:linux安装eclipse jdk 编辑:程序博客网 时间:2024/05/16 12:33
在一些项目中运行
pod install
后经常会出现如下错误
[!] The target `项目名 [Debug]` overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig'. - Use the `$(inherited)` flag, or - Remove the build settings from the target.[!] The target `项目名 [Debug - Release]` overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig'. - Use the `$(inherited)` flag, or - Remove the build settings from the target.
对于我等菜鸟看得莫名奇妙,无从下手,那么如何解决呢?
- 在 Finder 中找到 项目名.xcodeproj,右键选择显示包内容
- 用文本编辑器打开 project.pbxproj,搜索
OTHER_LDFLAGS
- 若项目未运行
pod install
则会看到2处类似格式的语句
OTHER_LDFLAGS = "";
将其删除后运行
pod install
即可
若已运行
pod install
则删除2处如下格式的语句
转自:http://www.99css.com/1346/<key>OTHER_LDFLAGS</key>
<string></string>
0 0
- CocoaPods 出现 OTHER_LDFLAGS 错误的解决方法
- CocoaPods 出现 OTHER_LDFLAGS 错误的解决方法
- CocoaPods 出现 OTHER_LDFLAGS 错误的解决方法
- CocoaPods 出现 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出现错误解决方法
- iOS开发--Xcode6: CocoaPods 错误 target overrides the `OTHER_LDFLAGS`
- 小胖说事44-----iOS cocoaPods错误: target overrides the `OTHER_LDFLAGS`...
- iOS-Bug收集:CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- CocoaPods安装出现的错误
- Cocoapods安装出现的错误
- Cocoapods无法找到头文件,CocoaPods 错误 target overrides the `OTHER_LDFLAGS`...
- Mac OS X 下安装CocoaPods 出现“Errno::EPERM”错误的解决方法
- 出现错误的解决方法:
- 观察者模式-JAVA
- 用PHP返回websocket信息
- http://mp.weixin.qq.com/mp/homepage微信公众平台封面制作
- 枚举进程句柄File,Section,Mutant,Timer关闭Mutex句柄实现游戏多开
- Java 内部类访问规则
- CocoaPods 出现 OTHER_LDFLAGS 错误的解决方法
- 解读机器学习基础概念:VC维的来龙去脉(转)
- Guava之Optional
- JSTL演示如何使用
- SurfaceView-View-GLSurfaceView
- uva 10305 ordering tasks题解
- 专题三 · 1012
- 剑指Offer--049-把字符串转换成整数
- StandardEngine[Catalina].StandardHost[localhost]