pod install error

 

Error Messages

[!] CocoaPods could not find compatible versions for pod "JYCustomSegmentView":
  In Podfile:
    JYCustomSegmentView (~> 0.1.8)

None of your spec sources contain a spec satisfying the dependency: `JYCustomSegmentView (~> 0.1.8)`.

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.

  

At this time, say the machine such as Podfile in AFNetworking updated to version 3.1.0, but not the associated configuration files under local .cocoapods.

Local library too old. . You want to update all of a sudden: Updating local specs repositories 

pod repo update is actually a local update all the libraries in the whole .cocoapods

 

Guess you like

Origin www.cnblogs.com/qingzZ/p/11790572.html