当我尝试设置 SDWebImage 时 pod install 不工作

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

这真让我沮丧,我不知道问题出在哪里。这是我第一次尝试使用 cocoapods。我 "pod init" 在我的项目文件夹中,然后在我 "pod install" 之后我得到了错误:

Error message

这是我将 Podfile 编辑成的内容:

# 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

这里是一个 link 到 SDWebImage: link to SDWebImage on Github

请帮忙。我在网上找不到关于这个问题的任何信息:(

SDWebImage 还没有可用于 cocoapods 的 v3.8。查看here,atm可用的pod版本是3.7.6

我有同样的错误。 我的 CocoaPod 版本是 1.0.0 ,它给了我同样的错误,对于 SDWebImage 版本 3.8 。 所以我删除了版本号(只保留 'SDWebImage' ),并安装了 pod 并安装了版本 3.76

我的假设是 SDWebImage 版本 3.8 不适用于 CocoaPods 版本 1.0.0。

希望对您有所帮助。