mistyped the name or version.

[!] CocoaPods could not find compatible versions for pod "Masonry": In snapshot (Podfile.lock): Masonry (= 1.1.0, ~> 1.1.0) In Podfile: Masonry (~> 1.1.0) None of your spec sources contain a spec satisfying the dependencies: Masonry (~> 1.1.0), Masonry (= 1.1.0, ~> 1.1.0). 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. Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

这个也是clone来的项目执行pod install的,把.xcworkspace和Podfile.lock文件删除,重新pod install一下就好了。猜测是不是不通版本或者系统造成的。

作者:JeffreyTaiT
链接:https://www.jianshu.com/p/dfa7d54a02bb
来源:
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

[!] CocoaPods could not find compatible versions for pod "AFNetworking/NSURLSession":
In Podfile:
YTKNetwork was resolved to 2.1.4, which depends on
AFNetworking/NSURLSession (~> 3.0)

None of your spec sources contain a spec satisfying the dependency: AFNetworking/NSURLSession (~> 3.0).

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.

你可能感兴趣的:(mistyped the name or version.)