最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - PhoneGap: How to set Build and Version Property in Config.xml for iOS? - Stack Overflow

programmeradmin1浏览0评论

An iOS app has a version an a build number. When using config.xml of a PhoneGap/Cordova project I can set

<widget id="bundlename" version="1.1.0" xmlns="" xmlns:cdv=".0">

This property sets the version as well as the build to 1.1.0.

Is there a way to set the version and build number separately in the config.xml?

An iOS app has a version an a build number. When using config.xml of a PhoneGap/Cordova project I can set

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

This property sets the version as well as the build to 1.1.0.

Is there a way to set the version and build number separately in the config.xml?

Share Improve this question asked Sep 15, 2014 at 23:39 MichaelMichael 33.3k50 gold badges223 silver badges374 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 22
<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>

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

发布评论

评论列表(0)

  1. 暂无评论