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

我的梦境 提交于 2019-12-08 14:50:51

问题


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

My Podfile is:

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

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

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


回答1:


You need to specify

platform :ios, '6.1'



回答2:


It's no longer necessary to specify the platform and version. For me I just deleted the line beginning platform and everything started working.



来源:https://stackoverflow.com/questions/18797180/platform-of-the-target-fubartests-ios-4-3-is-not-compatible-with-kiwi-2-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!