Open uniquejava opened 4 years ago
Source: https://stackoverflow.com/a/57956811/2497876
This is a really quick & detailed solution
Open the Terminal and execute the following to get the latest stable version:
sudo gem install cocoapods
Add --pre to get the latest pre release:
sudo gem install cocoapods --pre
Incase any error occured
Try uninstall and install again:
sudo gem uninstall cocoapods sudo gem install cocoapods
Run after updating CocoaPods
sudo gem clean cocoapods
After updating CocoaPods, also need to update Podfile.lock file in your project.
Go to your project directory
pod install
Updating to latest version of CocoaPods?
Source: https://stackoverflow.com/a/57956811/2497876
This is a really quick & detailed solution
Open the Terminal and execute the following to get the latest stable version:
Add --pre to get the latest pre release:
Incase any error occured
Try uninstall and install again:
Run after updating CocoaPods
After updating CocoaPods, also need to update Podfile.lock file in your project.
Go to your project directory