Andrey Chernukha Andrey Chernukha - 1 year ago 68
iOS Question

Cocoapods does not update single pod

I want to update

SDK. So I run
pod update 'Parse'
in terminal. And it has no effect. Parse version remains 1.8.5. It is only when I run
pod update
version becomes the latest 1.14.2. However it also updates the rest of the pods, which is not what I need. Did anybody ever encounter that? This is my podfile:

platform :ios, '8.0'

target 'MIPA' do

pod "AKPickerView"
pod 'MagicalRecord/Shorthand', '~> 2.2'
pod 'Parse'
pod "HockeySDK"
pod "AFNetworking", "~> 2.0"
pod 'AFNetworkActivityLogger'
pod 'SVProgressHUD'
pod 'FontAwesomeKit', '~> 2.1.0'
pod 'Optimizely-iOS-SDK'
pod 'SSKeychain'
pod 'Intercom'
pod 'Mixpanel'
pod 'CTAssetsPickerController'
pod 'MGSwipeTableCell'
pod 'NSOperationQueue+CompletionBlock', '~> 1.0'
pod 'BEMSimpleLineGraph'
pod 'DACircularProgress'
pod 'BugfenderSDK'
pod 'FastttCamera'
pod 'Masonry'
pod 'ActionSheetPicker-3.0', '~> 2.0.4'
pod 'apptentive-ios'
pod 'ParseFacebookUtilsV4'


target 'MIPATests' do

pod "AFNetworking", "~> 2.0"
pod 'SSKeychain'


target 'MIPAUITests' do

pod 'FontAwesomeKit', '~> 2.1.0'
pod 'MagicalRecord/Shorthand', '~> 2.2'
pod "AFNetworking", "~> 2.0"
pod 'SSKeychain'


Answer Source

Some other app may specify it needs Parse pod as a dependency, ParseFacebookUtilsV4 for example, so that it keeps it anyway even when removing it or trying to update.

You can #comment out both Parse and the other pods whose relate to it, this may require to go by attempt, run install, then uncomment them and run pod install again