iOS 开发笔记——The dependency `AFNetworking (~> 2.5.4)` is not used in any concrete target.
来源:互联网 发布:程序员对公司的建议 编辑:程序博客网 时间:2024/06/05 15:25
最近在另外一台电脑上安装了CocoaPods,使用pod install安装的时候,产生类似上面所述的错误。产生这个错误的原因是podfile升级到最新版本,pod里必须指出使用第三方库的target。
解决办法:
将Podfile文件修改成如下格式:
target 'liveDemoBundle' do # Pods for liveDemoBundleendplatform可以写在target里面,也可以写在target外面,可根据自己的需求编写。
如果有多个target,并且使用的第三方库不相同,注意每个target都必须以end结尾。如果使用相同的第三方库,可采用如下格式:
link_with ['liveDemoBundle' ,'liveDemoBundle_test',]platform :ios, '8.0' # pod 'AFNetworking' , ' ~>2.5.4'
0 0
- iOS 开发笔记——The dependency `AFNetworking (~> 2.5.4)` is not used in any concrete target.
- The dependency `AFNetworking ` is not used in any concrete target
- The dependency `AFNetworking` is not used in any concrete target.
- 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
- 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
- Cocoapos: 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 `AFNetworking ` is not used in any concrete target
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- [!] The dependency `AFNetworking (~> 3.1.0)` 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
- 斗战仙隐私政策
- vm安装ubuntu分辨率
- 【CNTK】测试结果记录
- 特权级--ring3到ring0
- SuppressWarnings注释
- iOS 开发笔记——The dependency `AFNetworking (~> 2.5.4)` is not used in any concrete target.
- [167]Two Sum II - Input array is sorted
- Android客户端与服务器端的数据通信中文乱码问题
- HDU 5863 cjj's string game(dp+矩阵快速幂)
- tjut 3559
- 欢迎使用CSDN-markdown编辑器
- REDIS实践应用
- windows下编译Caffe的MATLAB接口
- SIGPIPE信号详解