tldr/pages/osx/pod.md

32 lines
695 B
Markdown
Raw Normal View History

2016-01-05 01:48:10 +00:00
# pod
> Dependency manager for Swift and Objective-C Cocoa projects.
2016-01-05 01:48:10 +00:00
- Create a Podfile for the current project with the default contents:
2016-01-05 01:48:10 +00:00
`pod init`
- Download all pod defined in Podfile and create an Xcode Pods library project in `./Pods`:
2016-01-05 01:48:10 +00:00
`pod install`
- Download a new pod for the current project and add it to the Podfile:
2016-01-05 01:48:10 +00:00
`pod install {{pod_name}}`
2016-01-05 01:48:10 +00: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 01:48:10 +00:00
`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}}`