版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/pz789as/article/details/88715994
今天在使用pod的时候,出现了下面的错误提示,这里找到一个解决方法,以供尝试:
错误提示:
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities":
In Podfile:
GoogleUtilities (~> 5.2.0)
Specs satisfying the `GoogleUtilities (~> 5.2.0)` dependency were found, but they required a higher minimum deployment target.
解决方法:
将xcode工程目录下面的 .xcworkspace 和 Podfile.lock 文件删除,然后在这个目录下面运行 pod install 就可以解决了。
如果依然不行,还提示了更新pod的,那么就按照提示,运行pod update 或者 pod repo update 然后再运行pod install。