当pod 报错 Unable to find a specification for

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

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

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

  1. pod repo remove master  
    pod setup

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


你可能感兴趣的:(当pod 报错 Unable to find a specification for)