mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 11:57:56 +01:00
expand pod.md page as discussed in #583
This commit is contained in:
parent
dcf58acecd
commit
2f6388423b
1 changed files with 18 additions and 6 deletions
|
@ -1,19 +1,31 @@
|
|||
# pod
|
||||
|
||||
> CocoaPods, the Cocoa library package manager.
|
||||
> Dependency manager for Swift and Objective-C Cocoa projects.
|
||||
|
||||
- init
|
||||
- Create a Podfile for the current project with the default contents:
|
||||
|
||||
`pod init`
|
||||
|
||||
- install
|
||||
- Download all pod defined in Podfile and create an Xcode Pods library project in `./Pods`:
|
||||
|
||||
`pod install`
|
||||
|
||||
- install --no-repo-update
|
||||
- Download a new pod for the current project and add it to the Podfile:
|
||||
|
||||
`pod install --no-repo-update`
|
||||
`pod install {{pod_name}}`
|
||||
|
||||
- update
|
||||
- Show the outdated pods in the current `Podfile.lock`:
|
||||
|
||||
`pod outdated`
|
||||
|
||||
- Update all pods in the current project to their newest version:
|
||||
|
||||
`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}}`
|
||||
|
|
Loading…
Reference in a new issue