安装 pod 文件 Cocoapods 1.9.1 版本时出错

error when installing a pod file Cocoapods version 1.9.1

Podfile 内容

platform :ios, '11.0'

target 'AVWXKit' do

  use_frameworks!
  pod 'AVWXKit'
end

终端输入:pod install

错误信息:

You have either:
 * out-of-date source repos which you can update with `pod repo update`
   or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

我试过回购更新无济于事。任何帮助表示赞赏 使用 pod 版本 1.9.1

似乎 pod 从未被推送到主干:当我这样做时 pod search AVWXKit 我得到:

Unable to find a pod with name, author, summary, or description matching AVWXKit

要解决这个问题,请使用以下方法直接从其存储库获取 pod:

  pod 'AVWXKit', :git => 'https://github.com/JanC/AVWXKit'