美文网首页
MBProgressHUD更新异常

MBProgressHUD更新异常

作者: 老街灯塔 | 来源:发表于2019-10-08 16:29 被阅读0次

对项目进行优化,清理Cocospod时,替换陈旧SDK时发现使用MBProgressHUD 3.1.0版本时报错,pod install --no-repo-update 或 pod update --no-repo-update 显示如下异常:

WechatIMG3.jpeg
pod update --no-repo-update
Update all pods
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "MBProgressHUD":
  In Podfile:
    MBProgressHUD (~> 1.1.0)

Specs satisfying the `MBProgressHUD (~> 1.1.0)` dependency were found, but they required a higher minimum deployment target.

报错大概意思是找不到MBProgressHUD3.1.0版本,pod search有该版本号,初步怀疑是CocoaPods出问题,去掉版本号更新求证发现正常,排除CocoaPods异常问题。去Git拜读发现最新版可能不支持老版本xcode项目,更新Podfile文件platform版本号,由项目7.0升至8.0,该问题消失。

相关文章

网友评论

      本文标题:MBProgressHUD更新异常

      本文链接:https://www.haomeiwen.com/subject/bknbpctx.html