HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pod — Dependency manager for Swift and Objective-C Cocoa projects. More information: <https://guides.cocoa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
dependencycommandandclipodforswiftmanager
macos

Problem

How to use the pod command: Dependency manager for Swift and Objective-C Cocoa projects. More information: <https://guides.cocoapods.org/terminal/commands.html>.

Solution

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}}

Code Snippets

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

Context

tldr-pages: osx/pod

Revisions (0)

No revisions yet.