2016-01-05 04:48:10 +03:00
|
|
|
# pod
|
|
|
|
|
2016-08-17 21:39:47 +03:00
|
|
|
> Dependency manager for Swift and Objective-C Cocoa projects.
|
2016-01-05 04:48:10 +03:00
|
|
|
|
2016-08-17 21:39:47 +03:00
|
|
|
- Create a Podfile for the current project with the default contents:
|
2016-01-05 04:48:10 +03:00
|
|
|
|
|
|
|
`pod init`
|
|
|
|
|
2016-08-18 14:18:17 +03:00
|
|
|
- Download and install all pods defined in the Podfile (that haven't been installed before):
|
2016-01-05 04:48:10 +03:00
|
|
|
|
|
|
|
`pod install`
|
|
|
|
|
2016-08-18 14:17:39 +03:00
|
|
|
- List all available pods:
|
2016-01-05 04:48:10 +03:00
|
|
|
|
2016-08-18 14:17:39 +03:00
|
|
|
`pod list`
|
2016-01-05 04:48:10 +03:00
|
|
|
|
2016-08-18 14:18:17 +03:00
|
|
|
- Show the outdated pods (of those currently installed):
|
2016-08-17 21:39:47 +03:00
|
|
|
|
|
|
|
`pod outdated`
|
|
|
|
|
2016-08-18 14:18:17 +03:00
|
|
|
- Update all currently installed pods to their newest version:
|
2016-01-05 04:48:10 +03:00
|
|
|
|
|
|
|
`pod update`
|
2016-08-17 21:39:47 +03:00
|
|
|
|
2016-08-18 14:18:17 +03:00
|
|
|
- Update a specific (previously installed) pod to its newest version:
|
2016-08-17 21:39:47 +03:00
|
|
|
|
|
|
|
`pod update {{pod_name}}`
|
|
|
|
|
|
|
|
- Remove CocoaPods from a Xcode project:
|
|
|
|
|
|
|
|
`pod deintegrate {{xcode_project}}`
|