使用CocoaPods过程中的几个问题

主要是让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过程中的几个问题)