簡體   English   中英

PhoneGap:如何在Config.xml中為iOS設置Build和Version屬性?

[英]PhoneGap: How to set Build and Version Property in Config.xml for iOS?

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

此屬性將版本和構建設置為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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM