Sodamhan.com

TL;DR

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

This document was created using the contents of the tldr project.