更新pod库时执行pod install命令报错:
You have either:
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
解决办法:
把.xcworkspace和Podfile.lock文件删除,重新pod install一下就好了
上述方法不行,使用如下命令,更新本地库
pod repo update
更新pod库时执行pod install命令报错:
You have either:
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
解决办法:
把.xcworkspace和Podfile.lock文件删除,重新pod install一下就好了
上述方法不行,使用如下命令,更新本地库
pod repo update