1
1
## Working with teams
2
2
3
- To effectively work with teams it is necessary to understand the interplay of
3
+ To effectively work with teams it is necessary to understand the interdependence of
4
4
two CocoaPods files.
5
5
6
6
- ` Podfile.lock `
@@ -18,32 +18,32 @@ Thanks to the `Podfile.lock` every machine which runs pod install on the
18
18
hypothetical project will use RestKit 0.10.3 even if a newer version is
19
19
available. CocoaPods will honor this version unless the dependency is updated
20
20
on the Podfile or ` pod update ` is called. In this way CocoaPods avoids headaches
21
- caused to unexpected changes to dependencies.
21
+ caused by unexpected changes to dependencies.
22
22
23
23
This file should always be kept under version control.
24
24
25
25
### Manifest.lock
26
26
27
- If you use CocoaPods the ` Pods ` folder is not expected to be under source
27
+ If you use CocoaPods the ` Pods ` folder, it is not expected to be under source
28
28
control (as long as you trust the remotes which provide the sources for your
29
29
Pods). The ` Manifest.lock ` stores the information of which version of Pod is
30
30
installed in a specific Pods folder. It is a copy of the Podfile.lock at the
31
31
time of the last installation on that machine.
32
32
33
33
### The big picture
34
34
35
- Once an installation is invoked CocoaPods compares the Podfile to the
36
- Podfile.lock. If the installation was triggered by ` pod install ` all the
37
- versions of the non changed Pods are locked and thus will not be updated. Once
35
+ Once an installation is invoked, CocoaPods compares the Podfile to the
36
+ Podfile.lock. If the installation was triggered by ` pod install ` all the
37
+ versions of the non- changed Pods are locked and thus will not be updated. Once
38
38
the resolution process is completed CocoaPods will compare the resolved version
39
39
of the Pods to the Pods/Manifest.lock in order to detect which Pods actually
40
40
need to be installed.
41
41
42
42
### Note
43
43
44
- Currently CocoaPods doesn't keep tracks of the specific checkout of Pods
45
- obtained through external sources and might create different installations
46
- across different machines if the external sources are not specific.
44
+ Currently CocoaPods doesn't keep track of the specific checkout SHA of Pods
45
+ obtained through external sources, which might create different installations
46
+ across machines if the external sources are not specific.
47
47
48
48
For example, at the moment CocoaPods doesn't keep track of the commit SHA for
49
49
the following dependency:
0 commit comments