Jason Fel
Jason Fel

Reputation: 991

pod install is not working when I try to set up SDWebImage

This is really frustrating me I have no idea what the problem is. This is my first time trying to use cocoapods. I "pod init" in my project folder, then after I "pod install" here is the error I get:

Error message

Here is what I have my Podfile edited to:

# Uncomment this line to define a global platform for your project
platform :ios, '8.0'

target 'Bulpy' do
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Bulpy
  pod 'SDWebImage', '~>3.8'

  target 'BulpyTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'BulpyUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

Here is a link to SDWebImage: link to SDWebImage on Github

Please help. I could not find anything online regarding this issue :(

Upvotes: 1

Views: 1222

Answers (2)

AjinkyaSharma
AjinkyaSharma

Reputation: 1979

I had the same error. My CocoaPod version is 1.0.0 and it gave me the same error, for SDWebImage for version 3.8 . So I removed the version number(just kept 'SDWebImage' ), and did a pod install and it installed with the version 3.76

My assumption is SDWebImage version 3.8 doesn't work on CocoaPods version 1.0.0 .

I hope it helps.

Upvotes: 3

lostInTransit
lostInTransit

Reputation: 71017

SDWebImage does not have a v3.8 available yet with cocoapods. See here, the pod version available atm is 3.7.6

enter image description here

Upvotes: 1

Related Questions