[!] 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來的項目執(zhí)行pod install的蹋宦,把.xcworkspace和Podfile.lock文件刪除布卡,重新pod install一下就好了。猜測是不是不通版本或者系統(tǒng)造成的。
作者:JeffreyTaiT
鏈接:http://www.reibang.com/p/dfa7d54a02bb
來源:簡書
著作權(quán)歸作者所有重窟。商業(yè)轉(zhuǎn)載請聯(lián)系作者獲得授權(quán),非商業(yè)轉(zhuǎn)載請注明出處。
[!] 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 withpod install --repo-update
. - mistyped the name or version.
- not added the source repo that hosts the Podspec to your Podfile.