I want to install specific dependency using cocoapods. if I execute pod install, other dependencies are getting updated before installing my newly adde
Here is another way of doing it. If you want to install newly added pod and don't want to update other dependancies you need to remove "~>" from all your pods you don't want to update.
For example in case of AFNetworking
pod 'AFNetworking', '2.2.1' instead of pod 'AFNetworking',~> '2.2.1'