美文网首页iOS的日常
CocoaPods could not find compati

CocoaPods could not find compati

作者: GeniusWong | 来源:发表于2018-08-12 23:16 被阅读14次

今天,打开了一个很早以前的项目,pod install 后,出现以下错误,

pod search  XXXX ,可以搜索出来更高的版本,但是配置文件里设置好版本号后,pod install 后,就一直报下面的错误。

[!] CocoaPods could not find compatible versions for pod "PLMediaStreamingKit":  In Podfile:    PLMediaStreamingKit (~> 2.3.2)Specs satisfying the `PLMediaStreamingKit (~> 2.3.2)` dependency were found, but they required a higher minimum deployment target.

最后,终于发现问题所在了, Podfile 里最上面, platform :ios , '7.0', 由于项目比较久了,还是设置的 ios 7.0 ,设置成目前工程里设置的 Deployment Target 一样就可以了。 

相关文章

网友评论

    本文标题:CocoaPods could not find compati

    本文链接:https://www.haomeiwen.com/subject/gvbebftx.html