Podfile错误写法,会报错The dependency `Reveal-iOS-SDK` is not used in any concrete target. platform:ios,'7.0' pod 'Reveal-iOS-SDK', :configurations => ['Debug'] Podfile正确的写法: platform:ios,'7.0' target 'WeiYiTest' dopod 'Reveal-iOS-SDK', :configurations => […
今天新机装cocopods时,等安装完毕发觉出现[!] The dependency `AFNetworking (~> 3.1.0)` is not used in any concrete target.这个警告.看了下版本: 1.0.1   解决方式: 官网是这样给推荐的: 在创建Podfile的时候,用这种格式使用, platform :ios, '8.0' #use_frameworks!个别需要用到它,比如reactiveCocoa target 'TestPod' do pod '…
当用CocoaPods  pod install 时出现了下面的错误时: p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #c33720 } span.s1 { } [!] The dependency `JSONModel (~> 1.2.0)` is not used in any concrete target. The dependency `MJExtension (~> 3.0.10)` is n…
产生这个问题的原因是最新版本的CocoaPods把Podfile文件的书写格式改变了,官网推荐用如下格式书写: platform :ios, '8.0' use_frameworks! target 'MyAppName' do pod 'AFNetworking', '~> 2.6' pod 'ORStackView', '~> 3.0' pod 'SwiftyJSON', '~> 2.3' end 其中把MyAppName换成工程名,最后使用 pod install --verbos…
最近更新了下cocoapods,今天再pod update  就遇到这个错误: 大体意思就是说,库没有用到指定的target. 找了下资料,发现是新版CocoaPods在 Podfile里使用时,必须指定target: 比如: platform:ios,'7.0' target 'TestSwift' do pod 'AFNetworking' pod 'SDWebImage' pod 'JSONModel' pod 'MJRefresh' pod 'SDCycleScrollView','~>…
问题描述: The dependency `FMDB` is not used in any concrete target 解决办法: 官网是这样给推荐的: 在创建Podfile的时候,用这种格式使用, platform :ios, ‘8.0' target 'MyApp' do pod 'AFNetworking', '~> 2.6’ pod 'ORStackView', '~> 3.0’ pod 'SwiftyJSON', '~> 2.3' end 里面的 MyApp 记得替换为自…
RubertdeMacBook-Pro:项目名 Rubert$ pod install Analyzing dependencies [!] The dependency `BaiduMapKit` is not used in any concrete target. ===========已下是我找到解决办法后,运行的日志========================= RubertdeMacBook-Pro:项目目录 Rubert$ pod install Analyzing depen…
内容提要: podfile升级之后到最新版本,pod里的内容必须明确指出所用第三方库的target,否则会出现The dependency `` is not used in any concrete target这样的错误. 以下从三个步骤陈述: 1. Podfile升级 查看pod版本: pod --version pod 升级(此时是升级到1.0.0.beta.2版本): sudo gem install cocoapods --pre 2. 错误内容: 我的Podfile的内容是: pl…
[!] Oh no, an error occurred. Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory+-+%2FUsers%2Fquan%2FDesktop%2F%E8%AF%BE%E5%A0%82%E6%96%87%E4%BB%B6%E4%B8%8B%E8%BD%BD%2F8+-+%E7…
很多时候我们都会去gitHub上down别人的源码去研究,如果别人的项目用pod集成了,当我们下载好后不外乎cd到项目根目录pod install一下,集成项目所需的库类.今天在我pod install的时候突然报错,如截图所示: 看了下错误日志,Masonry (= 1.0.2) required by 'Podfile.lock'.然后习惯性的pod search Masonry,发现出现的版本是1.0.1.再看日志out-of-date source repos,原来是仓库数据更新了,只需…