用于生成锁定文件的CocoaPods版本(1.5.3)高于当前可执行文件的版本(1.5.2). [英] The version of CocoaPods used to generate the lockfile (1.5.3) is higher than the version of the current executable (1.5.2)

查看:107
本文介绍了用于生成锁定文件的CocoaPods版本(1.5.3)高于当前可执行文件的版本(1.5.2).的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上给出警告&失败

用于生成锁定文件的CocoaPods版本(1.5.3)高于当前可执行文件(1.5.2)的版本

它想说什么?

macOs:10.11.6 OSX El Capitan

我的广告连播版本是:1.5. 3

当前可执行文件"(1.5. 2 )是什么意思?

如何更新?

解决方案

您收到的错误是由于使用旧版Cocoapods构建的podfile.lock引起的.您需要做的就是删除podfile.lock文件并运行pod install.这将使用您当前的依赖关系创建一个新的podfile.lock.请注意,不要花太长时间,因为您的文件应该已经下载了,只需要将它们链接到所述文件中即可.

on $pod install it gives warning & fails

The version of CocoaPods used to generate the lockfile (1.5.3) is higher than the version of the current executable (1.5.2)

What is it trying to say ?

macOs : 10.11.6 osx el capitan

my pod version is : 1.5.3

What does"current executable" (1.5.2) means ?

and

how to update it ?

解决方案

The error you are getting is due to your podfile.lock being built with an older version of Cocoapods. All you need to do is to delete your podfile.lock file and run pod install. This will create a new podfile.lock, with your current dependencies. Note that it should not take too long because your files should already be downloaded, they just need to be linked in said file.

这篇关于用于生成锁定文件的CocoaPods版本(1.5.3)高于当前可执行文件的版本(1.5.2).的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆