为了账号安全,请及时绑定邮箱和手机立即绑定

自动安装 CocoaPods 一直是V2.5.3

自动安装 CocoaPods 一直是V2.5.3

梵蒂冈之花 2019-04-13 08:46:17
我是使用的“自动安装CocoaPods”,但是请问为什么下载下来的是一直都是2.5.3的版本??mactekiMacBook-Pro:JoyPicturemac$podupdate--verbose--no-repo-updateUpdateallpodsAnalyzingdependenciesFindingPodfilechanges-AVOSCloud-AVOSCloudSNSResolvingdependenciesof`Podfile`Resolvingdependenciesfortarget`Pods'(iOS6.0)-AVOSCloud-AVOSCloudSNS-AVOSCloudComparingresolvedspecificationtothesandboxmanifest-AVOSCloud-AVOSCloudSNSDownloadingdependencies->UsingAVOSCloud(2.5.3)->UsingAVOSCloudSNS(2.5.3)-RunningpreinstallhooksGeneratingPodsproject-CreatingPodsproject-AddingsourcefilestoPodsproject-AddingframeworkstoPodsproject-AddinglibrariestoPodsproject-AddingresourcestoPodsproject-Linkingheaders-Installinglibraries-Installingtarget`Pods-AVOSCloud`iOS6.0-AddingBuildfiles-AddingresourcebundlestoPodsproject-Generatingpublicxcconfigfileat`Pods/Pods-AVOSCloud.xcconfig`-Generatingprivatexcconfigfileat`Pods/Pods-AVOSCloud-Private.xcconfig`-Generatingprefixheaderat`Pods/Pods-AVOSCloud-prefix.pch`-Generatingdummysourcefileat`Pods/Pods-AVOSCloud-dummy.m`-Installingtarget`Pods-AVOSCloudSNS`iOS6.0-AddingBuildfiles-AddingresourcebundlestoPodsproject-Generatingpublicxcconfigfileat`Pods/Pods-AVOSCloudSNS.xcconfig`-Generatingprivatexcconfigfileat`Pods/Pods-AVOSCloudSNS-Private.xcconfig`-Generatingprefixheaderat`Pods/Pods-AVOSCloudSNS-prefix.pch`-Generatingdummysourcefileat`Pods/Pods-AVOSCloudSNS-dummy.m`-Installingtarget`Pods`iOS6.0-Generatingxcconfigfileat`Pods/Pods.xcconfig`-Generatingtargetenvironmentheaderat`Pods/Pods-environment.h`-Generatingcopyresourcesscriptat`Pods/Pods-resources.sh`-Generatingacknowledgementsat`Pods/Pods-acknowledgements.plist`-Generatingacknowledgementsat`Pods/Pods-acknowledgements.markdown`-Generatingdummysourcefileat`Pods/Pods-dummy.m`-Runningpostinstallhooks-WritingXcodeprojectfileto`Pods/Pods.xcodeproj`-WritingLockfilein`Podfile.lock`-WritingManifestin`Pods/Manifest.lock`IntegratingclientprojectmactekiMacBook-Pro:JoyPicturemac$
查看完整描述

2 回答

?
临摹微笑

TA贡献1982条经验 获得超2个赞

兄弟,你之前没用过CocoaPods?使用CocoaPods管理依赖的话,工程文件夹下有一个名为“Podfile”的文件,用普通的文本编辑器即可打开。根据你的情况里面应该有这么一行
pod"AVOSCloud","~>2.5.3"
上面那一行就是你的依赖信息,版本号就是后面那部分。改成你想要的就行。另外,CocoaPods的目录更新也是需要时间的,你得首先更新pods的list,然后才能获取到最新的版本。具体情况请参考CocoaPods的用法,也可以联系AVOS的客服。
                            
查看完整回答
反对 回复 2019-04-13
  • 2 回答
  • 0 关注
  • 333 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号