2015-07-21 44 views
0

我試圖上傳我的iOS應用程序,我收到enter image description here所有這些錯誤:PhoneGap的斜面上載iOS應用

我的XML配置是這樣的:

<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.phonegap.helloworld" version="1.0.0"> 
    <name>BP</name> 
    <description>Hello World sample application that responds to the deviceready event.</description> 
    <author href="http://phonegap.com" email="[email protected]">PhoneGap Team</author> 
    <content src="index.html"/> 
    <preference name="permissions" value="none"/> 
    <preference name="orientation" value="default"/> 
    <preference name="target-device" value="universal"/> 
    <preference name="fullscreen" value="false"/> 
    <preference name="webviewbounce" value="false"/> 
    <preference name="disallowOverscroll" value="true" /> 
    <preference name="prerendered-icon" value="true"/> 
    <preference name="stay-in-webview" value="false"/> 
    <preference name="ios-statusbarstyle" value="black-opaque"/> 
    <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="android-minSdkVersion" value="7"/> 
    <preference name="android-installLocation" value="auto"/> 
    <gap:plugin name="org.apache.cordova.battery-status"/> 
    <gap:plugin name="org.apache.cordova.camera"/> 
    <gap:plugin name="org.apache.cordova.media-capture"/> 
    <gap:plugin name="org.apache.cordova.console"/> 
    <gap:plugin name="org.apache.cordova.contacts"/> 
    <gap:plugin name="org.apache.cordova.device"/> 
    <gap:plugin name="org.apache.cordova.device-motion"/> 
    <gap:plugin name="org.apache.cordova.device-orientation"/> 
    <gap:plugin name="org.apache.cordova.dialogs"/> 
    <gap:plugin name="org.apache.cordova.file"/> 
    <gap:plugin name="org.apache.cordova.file-transfer"/> 
    <gap:plugin name="org.apache.cordova.geolocation"/> 
    <gap:plugin name="org.apache.cordova.globalization"/> 
    <gap:plugin name="org.apache.cordova.inappbrowser"/> 
    <gap:plugin name="org.apache.cordova.media"/> 
    <gap:plugin name="org.apache.cordova.network-information"/> 
    <gap:plugin name="org.apache.cordova.splashscreen"/> 
    <gap:plugin name="org.apache.cordova.vibration"/> 
    <icon src="icon.png"/> 

    <gap:splash src="splash.png" gap:platform="android" gap:qualifier="port-ldpi"/> 
    <gap:splash src="splash.png" gap:platform="android" gap:qualifier="port-mdpi"/> 
    <gap:splash src="splash.png" gap:platform="android" gap:qualifier="port-hdpi"/> 
    <gap:splash src="splash.png" gap:platform="android" gap:qualifier="port-xhdpi"/> 
    <gap:splash src="splash.png" gap:platform="blackberry"/> 
    <gap:splash src="splash.png" gap:platform="ios" width="320" height="480"/> 
    <gap:splash src="splash.png" gap:platform="ios" width="640" height="960"/> 
    <gap:splash src="splash.png" gap:platform="ios" width="640" height="1136"/> 
    <gap:splash src="splash.png" gap:platform="ios" width="768" height="1024"/> 
    <gap:splash src="splash.png" gap:platform="ios" width="1024" height="768"/> 
    <gap:splash src="splash.png" gap:platform="winphone"/> 
    <access origin="*"/> 

    <plugin name="cordova-plugin-whitelist" version="1"/> 

<gap:plugin name="org.apache.cordova.device" version="0.2.3" /> 
    <gap:plugin name="org.apache.cordova.geolocation" /> 

    <allow-intent href="http://*/*"/> 
    <allow-intent href="https://*/*"/> 
    <allow-intent href="tel:*"/> 
    <allow-intent href="sms:*"/> 
    <allow-intent href="mailto:*"/> 
    <allow-intent href="geo:*"/> 
    <platform name="android"> 
    <allow-intent href="market:*"/> 
    </platform> 
    <platform name="ios"> 
    <allow-intent href="itms:*"/> 
    <allow-intent href="itms-apps:*"/> 
    </platform> 
</widget> 
+0

您使用的是Xcode嗎?或手機差距建立? – OliverJ90

+0

Phonegap構建創建此 – Mike

回答

1

缺少圖標幾iPhone + iPad設備, PhoneGap Build並不能完全爲所有設備生成圖標:

<!-- iPhone/iPod Touch - lower 4s --> 
<icon src="icon/icon.png" gap:platform="ios" width="57" height="57" /> 
<icon src="icon/[email protected]" gap:platform="ios" width="114" height="114" /> 
<!-- iPhone/iPod Touch - 5-5s --> 
<icon src="icon/icon-60.png" gap:platform="ios" width="60" height="60" /> 
<icon src="icon/[email protected]" gap:platform="ios" width="120" height="120" /> 
<!-- iPhone6-6+ --> 
<icon src="icon/[email protected]" gap:platform="ios" width="180" height="180" /> 
<!-- iPad ios < 6.1--> 
<icon src="icon/icon-72.png" gap:platform="ios" width="72" height="72" /> 
<icon src="icon/[email protected]" gap:platform="ios" width="144" height="144" /> 
<!-- iPad --> 
<icon src="icon/icon-76.png" gap:platform="ios" width="76" height="76" /> 
<icon src="icon/[email protected]" gap:platform="ios" width="152" height="152" /> 
<!-- Settings Icon --> 
<icon src="icon/icon-small.png" gap:platform="ios" width="29" height="29" /> 
<icon src="icon/[email protected]" gap:platform="ios" width="58" height="58" /> 
<!-- Spotlight Icon --> 
<icon src="icon/icon-40.png" gap:platform="ios" width="40" height="40" /> 
<icon src="icon/[email protected]" gap:platform="ios" width="80" height="80" /> 
相關問題