Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 ?

like image 324
vijay Avatar asked Jul 06 '18 03:07

vijay


People also ask

What is the latest CocoaPods version?

1.11. 0. beta. 1 - August 09, 2021 (286 KB)

What version of Ruby does CocoaPods use?

Required Ruby Version: >= 2.0.

How do I create a Podfile lock?

Podfile. lock is used to make sure that every members of the team has the same versions of pods installed on the project. This file is generated after you run the command: pod install. It gets updated when you run pod install or pod update.


1 Answers

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.

like image 156
Jstngoulet Avatar answered Sep 25 '22 14:09

Jstngoulet