Files
cheatsheet-tldr/tldr/osx/pod

38 lines
796 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# pod
> Dependency manager for Swift and Objective-C Cocoa projects.
> More information: <https://guides.cocoapods.org/terminal/commands.html>.
- Create a Podfile for the current project with the default contents:
`pod init`
- Download and install all pods defined in the Podfile (that haven't been installed before):
`pod install`
- List all available pods:
`pod list`
- Show the outdated pods (of those currently installed):
`pod outdated`
- Update all currently installed pods to their newest version:
`pod update`
- Update a specific (previously installed) pod to its newest version:
`pod update {{pod_name}}`
- Remove CocoaPods from a Xcode project:
`pod deintegrate {{xcode_project}}`