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

$ 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

你可能感兴趣的:(IOS)