cordova iOS。如何更改最低部署版本? [英] cordova iOS. how to change minimum deployment version?

查看:176
本文介绍了cordova iOS。如何更改最低部署版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有cordova v6.0.0和测试设备是iOS 7.1.2



根据我阅读的内容,cordova v4.0.0更新为使用最小部署目标iOS 8



我可以做什么,无论是在Xcode还是从Xcode,强制这部署到我的iOS 7.1.2测试设备? p>

解决方案

您可以将部署目标首选项添加到项目的config.xml中。例如,这会将部署目标设置为iOS 7.1.2。

 < preference name =deployment-target =7.1.2/> 

由于这是Cordova的最低支持版本,因此不能保证这将工作。

I've got cordova v6.0.0 and a test device that is iOS 7.1.2

Based on what I read, cordova v4.0.0 was updated to use minimum deployment target iOS 8

Is there anything I can do, either in or out of Xcode, to force this to deploy to my iOS 7.1.2 test device?

解决方案

You can add the deployment-target preference to your project's config.xml. For example, this would set the deployment target to iOS 7.1.2.

<preference name="deployment-target" value="7.1.2" />

Since this is below Cordova's minimum supported version, there is no guarantee this will work.

这篇关于cordova iOS。如何更改最低部署版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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