CocoaPods how to install only one new library

Matrosov Alexander picture Matrosov Alexander · Feb 18, 2015 · Viewed 25.9k times · Source

I have a list of libraries in my Pod file. I decide to add new one to Pod file. But I want to keep all my previous libraies without updates and just install (add) this one library

pod 'JSAnimatedImagesView', '~> 1.0.0'

so pod update and pod install update all libraries to newer versions, but I don't want to update them just install pod 'JSAnimatedImagesView', '~> 1.0.0'

Answer

Miro picture Miro · Mar 22, 2016
pod install --no-repo-update

This installs new items without updating existing repos (versioned or not).

It's also just quicker if you have a lot of repos and want a fast install of a new item.