From da7a23fe3c850d66de9474e4f75500d16458f8b0 Mon Sep 17 00:00:00 2001 From: SimMan Date: Tue, 5 Jan 2016 09:48:10 +0800 Subject: [PATCH 1/5] Create pod CocoaPods --- pages/osx/pod | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/osx/pod diff --git a/pages/osx/pod b/pages/osx/pod new file mode 100644 index 0000000000..f8bfad2096 --- /dev/null +++ b/pages/osx/pod @@ -0,0 +1,19 @@ +# pod + +> CocoaPods, the Cocoa library package manager. + +- init + +`pod init` + +- install + +`pod install` + +- install --no-repo-update + +`pod install --no-repo-update` + +- update + +`pod update` From dcf58acecd490b64a00e89cb6654474c564c5e96 Mon Sep 17 00:00:00 2001 From: SimMan Date: Fri, 8 Jan 2016 13:12:10 +0800 Subject: [PATCH 2/5] Rename pod to pod.md --- pages/osx/{pod => pod.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename pages/osx/{pod => pod.md} (100%) diff --git a/pages/osx/pod b/pages/osx/pod.md similarity index 100% rename from pages/osx/pod rename to pages/osx/pod.md From 2f6388423bd1004f906a6e9b09243331ad4e5399 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Wed, 17 Aug 2016 19:39:47 +0100 Subject: [PATCH 3/5] expand pod.md page as discussed in #583 --- pages/osx/pod.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/pages/osx/pod.md b/pages/osx/pod.md index f8bfad2096..c33b03e6a7 100644 --- a/pages/osx/pod.md +++ b/pages/osx/pod.md @@ -1,19 +1,31 @@ # pod -> CocoaPods, the Cocoa library package manager. +> Dependency manager for Swift and Objective-C Cocoa projects. -- init +- Create a Podfile for the current project with the default contents: `pod init` -- install +- Download all pod defined in Podfile and create an Xcode Pods library project in `./Pods`: `pod install` -- install --no-repo-update +- Download a new pod for the current project and add it to the Podfile: -`pod install --no-repo-update` +`pod install {{pod_name}}` -- update +- Show the outdated pods in the current `Podfile.lock`: + +`pod outdated` + +- Update all pods in the current project to their newest version: `pod update` + +- Update a specific pod in the current project to their newest version: + +`pod update {{pod_name}}` + +- Remove CocoaPods from a Xcode project: + +`pod deintegrate {{xcode_project}}` From 9a3906ecbbb32df787087dcb91198566d4d4ab55 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 18 Aug 2016 12:17:39 +0100 Subject: [PATCH 4/5] pod.md: remove incorrect example and add 'pod list' instead --- pages/osx/pod.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/osx/pod.md b/pages/osx/pod.md index c33b03e6a7..03ac900d0d 100644 --- a/pages/osx/pod.md +++ b/pages/osx/pod.md @@ -10,9 +10,9 @@ `pod install` -- Download a new pod for the current project and add it to the Podfile: +- List all available pods: -`pod install {{pod_name}}` +`pod list` - Show the outdated pods in the current `Podfile.lock`: From 948bea2207ab35773986a191811bb43a4cbaba82 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 18 Aug 2016 12:18:17 +0100 Subject: [PATCH 5/5] pod.md: improve example descriptions --- pages/osx/pod.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/osx/pod.md b/pages/osx/pod.md index 03ac900d0d..62584dcea1 100644 --- a/pages/osx/pod.md +++ b/pages/osx/pod.md @@ -6,7 +6,7 @@ `pod init` -- Download all pod defined in Podfile and create an Xcode Pods library project in `./Pods`: +- Download and install all pods defined in the Podfile (that haven't been installed before): `pod install` @@ -14,15 +14,15 @@ `pod list` -- Show the outdated pods in the current `Podfile.lock`: +- Show the outdated pods (of those currently installed): `pod outdated` -- Update all pods in the current project to their newest version: +- Update all currently installed pods to their newest version: `pod update` -- Update a specific pod in the current project to their newest version: +- Update a specific (previously installed) pod to its newest version: `pod update {{pod_name}}`