美文网首页
使用CocoaPods过程中的几个问题

使用CocoaPods过程中的几个问题

作者: VincentHK | 来源:发表于2017-10-30 21:47 被阅读0次

主要是让Pod找到子目录中的工程文件。

当在update或install时遇到这个问题:

[plain]view plaincopy

Unable to find a specification for `xxxxx (~> 1.x.x)` depended upon by Podfile.

只需要把当前Pod的目录清理一下就行了。在终端执行以下命令:

[plain]view plaincopy

pod repo remove master

pod setup

setup成功后执行install或update即可。

相关文章

网友评论

      本文标题:使用CocoaPods过程中的几个问题

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