【问题标题】:I can't download Pod ParallaxHeader by Github我无法下载 Github 的 Pod ParallaxHeader
【发布时间】:2018-04-25 18:34:54
【问题描述】:

我的问题是关于 Github 的 Pod。

我的版本有问题。我下载不了! :(

https://github.com/romansorochak/ParallaxHeader(我想要 Swift3 的版本 -> 1.0.6)

我试过这个:pod 'ParallaxHeader', '~> 1.0.6'

Promt 显示此错误:

[!] 无法找到 ParallaxHeader (~> 1.0.6) 的规范

有人知道发生了什么吗?

非常感谢!

【问题讨论】:

标签: ios github swift3 cocoapods


【解决方案1】:

在你的 pod 文件中替换下面的代码。我已经检查过了,我可以下载 pod 文件

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target ‘your project name’ do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for your project name

    pod 'ParallaxHeader', '~> 2.0.0'

end

【讨论】:

  • 附在顶部的另一个答案中!谢谢
【解决方案2】:

我通过以下步骤解决了这样的问题:

  1. 打开终端。
  2. 转到您的项目路径。
  3. 写:

    • pod 存储库更新

    • pod 安装。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-01
    • 2021-05-06
    • 1970-01-01
    • 2018-08-10
    • 1970-01-01
    相关资源
    最近更新 更多