31
pages/osx/pod.md
Normal file
31
pages/osx/pod.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# pod
|
||||||
|
|
||||||
|
> Dependency manager for Swift and Objective-C Cocoa projects.
|
||||||
|
|
||||||
|
- 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}}`
|
Reference in New Issue
Block a user