gpt4 book ai didi

javascript - 适用于 iOS 的 PhoneGap : How to set Build and Version Property in Config. xml?

转载 作者:技术小花猫 更新时间:2023-10-29 10:59:12 26 4
gpt4 key购买 nike

iOS 应用程序有一个版本和一个内部版本号。当使用 PhoneGap/Cordova 项目的 config.xml 时,我可以设置

<widget id="bundlename" version="1.1.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

此属性将版本和build设置为 1.1.0。

有没有办法在 config.xml 中分别设置版本和内部版本号?

最佳答案

<widget id="io.cordova.hellocordova" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
</widget>

<!-- Android -->
<widget versionCode="0.1.3">
</widget>

<!-- iOS -->
<widget CFBundleVersion="0.1.3">
</widget>

<!-- Windows -->
<widget packageVersion="0.1.3">
</widget>

来自 https://cordova.apache.org/docs/en/dev/config_ref/index.html#widget .

关于javascript - 适用于 iOS 的 PhoneGap : How to set Build and Version Property in Config. xml?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25858547/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com