Specs satisfying the `Alamofire (~> 4.2.0)` dependency were found, but they required a higher minimu

podfile文件 

platform :ios, ‘7.0’
use_frameworks!
target “swift” do
pod 'Alamofire', '~> 4.2.0'
pod 'MJRefresh', '~> 3.1.12'
pod 'SDWebImage', '~> 4.0.0-beta2'
pod 'SVProgressHUD', '~> 2.0.4'
end

用pod install  时  报错 

 Invalid `Podfile` file: Unsupported platform `iOS`. Platform must be `:ios`, `:osx`, `:tvos`, or `:watchos`..

原因是ios必须小写 'iOS '改成 ‘ios’


[!] Unable to satisfy the following requirements:


- `Alamofire (~> 4.2.0)` required by `Podfile`


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

原因是Alamofire4.0.0最低支持9.0  ,把 platform :ios, ‘7.0’  改成platform :ios, ‘9.0’,就OK 了。

[!] The dependency `MBProgressHUD (~> 0.8)` is not used in any concrete target.

原因是没有指定一个具体的target,把podfile文件格式改成最上边的那种就好。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值