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-17 21:39:47 +03:00
|
|
|
- Download all pod defined in Podfile and create an Xcode Pods library project in `./Pods`:
|
2016-01-05 04:48:10 +03:00
|
|
|
|
|
|
|
`pod install`
|
|
|
|
|
2016-08-17 21:39:47 +03:00
|
|
|
- Download a new pod for the current project and add it to the Podfile:
|
2016-01-05 04:48:10 +03:00
|
|
|
|
2016-08-17 21:39:47 +03:00
|
|
|
`pod install {{pod_name}}`
|
2016-01-05 04:48:10 +03:00
|
|
|
|
2016-08-17 21:39:47 +03:00
|
|
|
- Show the outdated pods in the current `Podfile.lock`:
|
|
|
|
|
|
|
|
`pod outdated`
|
|
|
|
|
|
|
|
- Update all pods in the current project to their newest version:
|
2016-01-05 04:48:10 +03:00
|
|
|
|
|
|
|
`pod update`
|
2016-08-17 21:39:47 +03:00
|
|
|
|
|
|
|
- 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}}`
|