Pod install - updated Podfile.lock

I just cloned a project with multiple containers locked.

After pod install my Podfile.lock modifies me.

Why?

Is it supposed to update only if I do pod update ?


Podfile

 platform :ios, '6.0' pod 'SVProgressHUD', '~> 0.9' pod 'Reachability', '~> 3.1.0' pod 'UIDeviceAddition', '~> 1.0' pod 'CorePlot', '~> 1.3' pod 'RestKit', '~> 0.20' pod 'ZipArchive', '~> 1.1.0' 

^ - not changed - ^

Diff

 index c82dc53..e408a71 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - AFNetworking (1.3.2) + - AFNetworking (1.3.4) - CorePlot (1.3) - Reachability (3.1.1) - RestKit (0.20.3): @@ -32,14 +32,14 @@ DEPENDENCIES: - ZipArchive (~> 1.1.0) SPEC CHECKSUMS: - AFNetworking: 7f9bcd7c287a75476cd5c61e82fd3380e93e4c54 - CorePlot: af8307dd1fc013b3d8d97f54db8de0de6d57af84 - Reachability: 2be6bc2fd2bd31d97f5db33e75e4b29c79e95883 # ... + AFNetworking: 80c4e0652b08eb34e25b9c0ff3c82556fe5967b4 + CorePlot: f62846d49870dcb5a7fffa42f493faf836155578 + Reachability: 8e9635e3cb4f98e7f825e51147f677ecc694d0e7 # ... -COCOAPODS: 0.22.3 +COCOAPODS: 0.33.1 
+7
cocoapods
source share
1 answer

Pod install and pod update use the same mechanism.

Pod install will block the version of dependencies not changed in the subfile. Swap update instead tries to update any pod

therefore, only if you have made changes to the podfile, podfile.lock can change

-one
source share

All Articles