What is podfile.lock in our Xcode projects and why is it used?

I am new to using pods in Xcodeprojects. I was confused by pod file.lock. I want to upgrade the "OBJECTMAPPER" framework to 2.0 to make it compatible with swift 3. However, this is not the case.

why it is not updated to the latest version (2.0). Does this have anything to do with pod file.lock. which as follows->

enter image description here

and why is it used?

Update: Subfile enter image description here

+7
source share
2 answers

pod install will not update ObjectMapper to the latest version, because there is no reason for this. ObjectMapper is included as a dependency on UberRides, and version 1.5.0 satisfies requirement 1 or higher.

, ObjectMapper , .

pod 'ObjectMapper', '2.0'
0

, - , 2 . . cocoapods, , () . , , "XX", . "XX" - 2.0.0, podfile.lock - (XX - (2.0.0))

, , , , pod install. podfile , . (" , , , "). podfile.lock

"XX" , pod .

0

Source: https://habr.com/ru/post/1671803/


All Articles