Skip to content

Commit d976bbe

Browse files
authored
Merge pull request #79 from erwald/committing-pods
Add note that CocoaPods recommend checking pods into source code.
2 parents 14c616f + e4b43dd commit d976bbe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This creates a Podfile, which will hold all your dependencies in one place. Afte
9494

9595
pod install
9696

97-
to install the libraries and include them as part of a workspace which also holds your own project. It is generally [recommended to commit the installed dependencies to your own repo][committing-pods], instead of relying on having each developer running `pod install` after a fresh checkout.
97+
to install the libraries and include them as part of a workspace which also holds your own project. For reasons stated [here][committing-pods-cocoapods] and [here][committing-pods], we recommend committing the installed dependencies to your own repo, instead of relying on having each developer run `pod install` after a fresh checkout.
9898

9999
Note that from now on, you'll need to open the `.xcworkspace` file instead of `.xcproject`, or your code will not compile. The command
100100

@@ -105,6 +105,7 @@ will update all pods to the newest versions permitted by the Podfile. You can us
105105
[cocoapods]: https://cocoapods.org/
106106
[cocoapods-pod-syntax]: http://guides.cocoapods.org/syntax/podfile.html#pod
107107
[committing-pods]: https://www.dzombak.com/blog/2014/03/including-pods-in-source-control.html
108+
[committing-pods-cocoapods]: https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
108109

109110
#### Carthage
110111

@@ -158,7 +159,7 @@ enum Config {
158159
enum Color {
159160
static let primaryColor = UIColor(red: 0.22, green: 0.58, blue: 0.29, alpha: 1.0)
160161
static let secondaryColor = UIColor.lightGray
161-
162+
162163
// A visual way to define colours within code files is to use #colorLiteral
163164
// This syntax will present you with colour picker component right on the code line
164165
static let tertiaryColor = #colorLiteral(red: 0.22, green: 0.58, blue: 0.29, alpha: 1.0)

0 commit comments

Comments
 (0)