1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/pod.md

33 lines
706 B
Markdown
Raw Normal View History

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