mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 14:35:42 +02: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
|
# 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`
|
`pod init`
|
||||||
|
|
||||||
- install
|
- Download all pod defined in Podfile and create an Xcode Pods library project in `./Pods`:
|
||||||
|
|
||||||
`pod install`
|
`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`
|
`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…
Add table
Reference in a new issue