The dependency `MBProgressHUD` is not used in any concrete target.
来源:互联网 发布:ubuntu没有中文输入法 编辑:程序博客网 时间:2024/06/05 19:23
ex:
The dependency `` is not used in any concrete targetThe dependency `AFNetworking ` is not used in any concrete target
- 1
- 2
- 1
- 2
- CocoaPods再遇困难,前几天电脑重装了系统,所有的开发工具就都装了最新的,当我用CocoaPods的时候,出了一个提示,大概就是我的版本不是 last version,然后给你提示了一个命令,直接复制即可,就是下面这个:
sudo gem install cocoapods --pre
- 1
- 1
安装cocoapods的预览版本,就会更新下来新的1.0.0.beta.2版本,如下所示:
Successfully installed cocoapods-1.0.0.beta.2Parsing documentation for cocoapods-1.0.0.beta.2
- 1
- 2
- 1
- 2
很高兴啊,更新了新的版本,然而pod install就出错了,悲了个剧!出错如下:
Updating local specs repositoriesAnalyzing dependencies[!] The dependency `FMDB (~> 2.3)` is not used in any concrete target.The dependency `SDWebImage (~> 3.6)` is not used in any concrete target.The dependency `AFNetworking (~> 2.3.0)` is not used in any concrete target.The dependency `DACircularProgress (~> 2.2.0)` is not used in any concrete target.The dependency `MBProgressHUD (~> 0.8)` is not used in any concrete target.The dependency `PSTCollectionView (~> 1.2.1)` is not used in any concrete target.The dependency `HPGrowingTextView (~> 1.1)` is not used in any concrete target.The dependency `ProtocolBuffers (= 1.9.3)` is not used in any concrete target.The dependency `leveldb-library (~> 1.18.1)` is not used in any concrete target.The dependency `SCLAlertView-Objective-C (~> 0.7.5)` is not used in any concrete target.The dependency `MWPhotoBrowser (~> 1.4.1)` is not used in any concrete target.The dependency `MMMarkdown (~> 0.5)` is not used in any concrete target.The dependency `MJExtension (~> 2.5.16)` is not used in any concrete target.The dependency `MJRefresh (~> 2.4.12)` is not used in any concrete target.The dependency `Masonry (~> 0.6.3)` is not used in any concrete target.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
我用的三方库比较多,挺长的,出这个错是告诉我们我们所用的库没有指定target,它不知道用在哪里,所以就给报错了,然后我去了cocoapods的官网看了下,cocoapods官网地址
官网是这样给推荐的:
在创建Podfile的时候,用这种格式使用,
platform :ios, '8.0'#use_frameworks!个别需要用到它,比如reactiveCocoatarget 'MyApp' do pod 'AFNetworking', '~> 2.6' pod 'ORStackView', '~> 3.0' pod 'SwiftyJSON', '~> 2.3'end
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 里面的 MyApp 记得替换为自己攻城里面的target。这样就基本OK了,执行pod install / pod update 就都可以了。(use_frameworks! 这个是个别需要的,这里修改一下,可以把我上面的代码中的这一行【删除】)
下面是另外一种写法,
platform :ios, '8.0'#use_frameworks!个别需要用到它,比如reactiveCocoadef pods pod 'AFNetworking', '~> 2.6' pod 'ORStackView', '~> 3.0' pod 'SwiftyJSON', '~> 2.3'endtarget 'MyApp' do podsend
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
0 0
- The dependency `MBProgressHUD` 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 `XXXX` is not used in any concrete target.
- The dependency `Masonry` is not used in any concrete target.
- The dependency `***` is not used in any concrete target.
- 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
- cocoapod的报错处理:The dependency `xxx` is not used in any concrete target.
- CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target
- CocoaPods error:The dependency '' is not used in any concrete target
- iOS - 报错 The dependency `xxx` 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.
- pod install时出现错误"The dependency 'xxx' is not used in any concrete target"
- [Codeforces Round #286 DIV1B (CF506B)] Mr. Kitayuta's Technology
- AngularJS ui.bootstrap.alert 消息
- SQL case 语句的实践
- eclipse设置字体颜色
- bzoj 3630 [JLOI2014]镜面通道 计算几何 网络流
- The dependency `MBProgressHUD` is not used in any concrete target.
- null与undefined
- 新的开始
- jetty项目部署
- 第一篇博客-关于采集来编码的问题
- window caffe 下训练mnist及测试
- 复选下拉框CCheckComboBox
- 下载网站
- nginx环境搭建及相关命令