我刚刚克隆了一个锁定了几个pod的项目.
经过pod install我的Podfile.lock被修改.
为什么?
是不是应该只在我这样做时更新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'
Run Code Online (Sandbox Code Playgroud)
^ - 没有改变 - ^
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
Run Code Online (Sandbox Code Playgroud)
Tom*_*ven -2
Pod 安装和 pod 更新共享相同的机器。
Pod install 会锁定 Podfile 中未更改的依赖项的版本。Pod update 会尝试更新任何 pod
因此,只有当您对 Podfile 进行更改时,podfile.lock 才能更改
| 归档时间: |
|
| 查看次数: |
3074 次 |
| 最近记录: |