CocoaPods报错:The dependency '三方框架Name' is not used in any concrete target
来源:互联网 发布:淘宝格子铺怎么入驻 编辑:程序博客网 时间:2024/04/30 16:16
当cocoapods升级后(我目前用的是1.1.0版本),Podfile文件的内容格式要求发生了变化,安装第三方库的时候,必须指出所用第三方库的target。不然会报以下错误。
解决方案:
1、修改Podfile的内容,添加target(PS:target为项目名称)如下:
修改前的Podfile文件的内容:
修改后的Podfile文件的内容:
**补充:use_framework!个别框架会用到它,比如reactiveCocoa,如下格式添加即可
2、安装,命令:pod install
但建议用命令:pod install --verbose --no-repo-update,不用每次升级cocoapods的spec仓库更快速
0 0
- CocoaPods报错:The dependency '三方框架Name' is not used in any concrete target
- CocoaPods安装第三方SDK报错[!] The dependency `第三方SDK` is not used in any concrete target
- CocoaPods安装第三方SDK报错[!] The dependency `ReactiveCocoa (~> 4.1.0)` is not used in any concrete target.
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking (~> 3.0.4s)` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- iOS CocoaPods 报错: The dependency `UMengSocialCOM (~> 5.2.1)` is not used in any concrete target.
- CocoaPods报错:The dependency `` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- jni下添加打印信息
- LINUX C 语言--进程管理(一)
- 《es6标准入门》学习笔记-第二章 let和const命令
- 由多线程内存溢出产生的实战分析
- JAVA通过WebService上传文件
- CocoaPods报错:The dependency '三方框架Name' is not used in any concrete target
- JAVA总结系列之Map
- 《es6标准入门》学习笔记-第三章 变量的解构赋值
- C++11读书笔记—0(迟到的C++11)
- html基本模块
- StringBuilder&& StringBuffer
- Android Service与Activity之间通信的几种方式
- 如何提交内核补丁--checkpatch.pl使用
- Hiding Data from Forensic Imagers – Using the Service Area of a Hard Disk Drive