2014-03-06 81 views
0

我试图让使用phonegapiOS的应用程序,但是当我完成上传到苹果商店,一切顺利,但iOS的错误通知我刚刚得到错误的电子邮件通知:当上传到苹果商店完成

Version Mismatch - Neither CFBundleVersion ['2.0.0'] nor CFBundleShortVersionString [''] in the Info.plist match the version of the app set in iTunes Connect ['2.0'].

是什么导致了这个错误? phonegap中的config.xml设置有什么问题吗?

我的config.xml:

<?xml version='1.0' encoding='utf-8'?> 
<widget id="com.joriscorp.xxxx" version="2.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"> 
    <name>Baca Berita</name> 
    <description> 
     Aplikasi android untuk mendapatkan informasi terkini dari situs www.bacaberita.com. 
    </description> 
    <author email="[email protected]" href="http://www.berthojoris.com/"> 
     Bertho Joris 
    </author> 
    <feature name="http://api.phonegap.com/1.0/device" /> 
    <preference name="phonegap-version" value="3.3.0" /> 
    <preference name="permissions" value="none" /> 
    <preference name="orientation" value="portrait" /> 
    <preference name="target-device" value="universal" /> 
    <preference name="fullscreen" value="false" /> 
    <preference name="webviewbounce" value="true" /> 
    <preference name="prerendered-icon" value="true" /> 
    <preference name="stay-in-webview" value="false" /> 
    <preference name="detect-data-types" value="true" /> 
    <preference name="exit-on-suspend" value="false" /> 
    <preference name="show-splash-screen-spinner" value="true" /> 
    <preference name="auto-hide-splash-screen" value="true" /> 
    <preference name="disable-cursor" value="false" /> 
    <preference name="ios-statusbarstyle" value="black-opaque" /> 
    <icon src="icon.png" /> 
    <icon src="icons/ios/icon.png" gap:platform="ios" width="57" height="57" /> 
    <icon src="icons/ios/icon-72.png" gap:platform="ios" width="72" height="72" /> 
    <icon src="icons/ios/icon_at_2x.png" gap:platform="ios" width="114" height="114" /> 
    <icon src="icons/ios/icon-72_at_2x.png" gap:platform="ios" width="144" height="144" /> 
    <gap:splash src="splash/ios/Default.png" gap:platform="ios" width="320" height="480" /> 
    <gap:splash src="splash/ios/Default_at_2x.png" gap:platform="ios" width="640" height="960" /> 
    <gap:splash src="splash/ios/Default_iphone5.png" gap:platform="ios" width="640" height="1136" /> 
    <gap:splash src="splash/ios/Default-Landscape.png" gap:platform="ios" width="1024" height="748" /> 
    <gap:splash src="splash/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1004" /> 
    <gap:splash src="splash/ios/Default-Landscape_at_2x.png" gap:platform="ios" width="2048" height="1496" /> 
    <gap:splash src="splash/ios/Default-Portrait_at_2x.png" gap:platform="ios" width="1536" height="2008" /> 
    <access origin="*" /> 
</widget> 

我应该怎么做来处理这个问题?

感谢....

+0

他们说,在iTunes Connect您设置的版本'2.0'在你的config.xml您有它设置为'2.0.0' 。你需要让它们匹配。可以在iTunes连接中更改它或在config.xml中更改它,但它们需要完全匹配 –

回答

0

根据电子邮件,它好像你需要在你的目标的常规部分改变你的版本号从“2.0.0”到“2.0”,并捆绑软件版本因为“2.0”是iTunes Connect中列出的版本,所以将Info.plist中的字符串从“”更改为“2.0”。

这条线,例如,应该是:

<widget id="com.joriscorp.xxxx" version="2.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"> 
相关问题