Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Update Version Pod Packages?

This what I have now in my Pod file

platform :ios, '9.0'
use_frameworks!
target 'ListHue' do 
  pod 'RealmSwift'
  pod 'SwipeCellKit'
  pod 'ChameleonFramework/Swift', :git => 'https://github.com/ViccAlexander/Chameleon.git'
end

I want to update to this

platform :ios, '9.0'
use_frameworks!
target 'ListHue' do 
  pod 'RealmSwift'
  pod 'SwipeCellKit','2.5.0'
  pod 'ChameleonFramework/Swift', :git => 'https://github.com/ViccAlexander/Chameleon.git'
end

What is the command I need to run when I need to update my Pod package ?

pod update or pod install or both ?

like image 295
code-8 Avatar asked Dec 30 '25 04:12

code-8


1 Answers

Use pod install to install new pods in your project and pod update [PODNAME] (without the name if you want to update all the pods to the latest version) only when you want to update pods to a newer version.

More information in this cocoapods guide.

like image 81
Kerberos Avatar answered Jan 01 '26 16:01

Kerberos