iOS编译中pod报错CocoaPods could not find compatible versions for pod "XXXXX":

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xlyrh/article/details/82877778
$ pod install --no-repo-update
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "XXXXX":
  In snapshot (Podfile.lock):
    XXXXX (= 1.3.1)

  In Podfile:
    XXXXX

None of your spec sources contain a spec satisfying the dependencies: `XXXXX, XXXXXX (= 1.3.1)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

按提示信息update后即可,pod repo update

猜你喜欢

转载自blog.csdn.net/xlyrh/article/details/82877778
今日推荐