目标`fubarTests`(iOS 4.3)的平台与`Kiwi(2.2.1)`不兼容,后者最低要求为iOS 5.0 [英] platform of the target `fubarTests` (iOS 4.3) is not compatible with `Kiwi (2.2.1)` which has a minimum requirement of iOS 5.0

查看:72
本文介绍了目标`fubarTests`(iOS 4.3)的平台与`Kiwi(2.2.1)`不兼容,后者最低要求为iOS 5.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法摆脱这个错误,也不知道为什么。
我正在运行xcode 4.6.3
该项目的ios部署目标是说iOS 6.1
基本sdk是6.1

I can't seem to get past this error and don't know why. I'm running xcode 4.6.3 The project's ios deployment target says iOS 6.1 the base sdk is 6.1

我的Podfile是:

My Podfile is:

# Podfile
platform :ios  
target :fubarTests, :exclusive => true do 
 pod 'Kiwi' 
end 

从命令行进行pod install我得到关于目标为iOS 4.3的错误。

and when I try to run pod install from the command line I get the error about the target being iOS 4.3.

为什么认为我的目标是4.3,如何更改?

Why does it think my target is 4.3 and how can I change it?

推荐答案

您需要指定

platform :ios, '6.1'

这篇关于目标`fubarTests`(iOS 4.3)的平台与`Kiwi(2.2.1)`不兼容,后者最低要求为iOS 5.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆