0
我試圖讓使用phonegap
iOS
的應用程序,但是當我完成上傳到蘋果商店,一切順利,但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>
我應該怎麼做來處理這個問題?
感謝....
他們說,在iTunes Connect您設置的版本'2.0'在你的config.xml您有它設置爲'2.0.0' 。你需要讓它們匹配。可以在iTunes連接中更改它或在config.xml中更改它,但它們需要完全匹配 –