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

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

问题描述

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

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

根据我的阅读,cordova v4.0.0已更新使用最低部署目标iOS 8

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

我可以做什么,无论是进出Xcode还是强制将其部署到我的iOS 7.1.2测试设备?

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?

推荐答案

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

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" />

由于这低于Cordova的最低支持版本,因此无法保证此功能。

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

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

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