CocoaPods报错:The dependency `` is not used in any concrete target

CocoaPods报错:The dependency `` is not used in any concrete target,第1张

概述内容提要:   podfile升级之后到最新版本,pod里的内容必须明确指出所用第三方库的target,否则会出现The dependency `` is not used in any concrete target这样的错误。 以下从三个步骤陈述: 1. Podfile升级 查看pod版本: pod --version pod 升级(此时是升级到1.0.0.beta.2版本): sudo ge

内容提要:

  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的内容是:

platform :ios,7.0pod ReactiveCocoa,0)">2.1.8pod objectiveflickr2.0.4linqToObjectiveC2.0.0SDWebImage3.6

pod install后出现错误The dependency `` is not used in any concrete target

pod install/System/library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/rbconfig.rb:213: warning: Insecure world writable dir /Applications/Cocos/tools/ant/bin in PATH,mode 040777Re-creating CocoaPods due to major version update.Updating local specs repositorIEsAnalyzing dependencIEs[!] The dependency `ReactiveCocoa (= 2.1.8)` is not used in any concrete target.The dependency `objectiveflickr (= 2.0.4)` is not used in any concrete target.The dependency `linqToObjectiveC (= 2.0.0)` is not used in any concrete target.The dependency `SDWebImage (= 3.6)` is not used in any concrete target.

3. 修改方法:

Podfile内容更改:

target "RWTFlickrSearch" doend

这样再运行pod install,就会成功了。

总结

以上是内存溢出为你收集整理的CocoaPods报错:The dependency `` is not used in any concrete target全部内容,希望文章能够帮你解决CocoaPods报错:The dependency `` is not used in any concrete target所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1050746.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-25
下一篇2022-05-25

发表评论

登录后才能评论

评论列表(0条)

    保存