CocoaPods how to install only one new library

cocoapods, ios, xcode

Solution

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.

Problem

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'`

Original source