【发布时间】:2015-06-03 09:31:23
【问题描述】:
我已经使用 phonegap 构建服务构建了 cordova phonegap 应用程序。现在我正在尝试将 .ipa 上传到 iOS App Store,但出现以下错误。
这是我的 config.xml
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.error.myapp" version="1.0.0">
<name>My App</name>
<description>A hybrid applicatoin.</description>
<author href="http://danish-jamil.blogspot.com" email="danishjamil2@gmail.com">Danish Jamil</author>
<content src="index.html"/>
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="15000" />
<preference name="permissions" value="none"/>
<preference name="phonegap-version" value="3.7.0"/>
<preference name="orientation" value="vertical"/>
<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="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="false"/>
<preference name="disable-cursor" value="false"/>
<preference name="android-minSdkVersion" value="10"/>
<preference name="android-installLocation" value="auto"/>
<gap:plugin name="org.apache.cordova.splashscreen"/>
<icon src="icon.png"/>
<gap:splash src="splash.png" />
<icon src="icon.png" gap:platform="ios"/>
<!-- iPhone 6 / 6+ -->
<icon src="Icon-72.png" gap:platform="ios" width="180" height="180" />
<!-- iPhone / iPod Touch -->
<icon src="Icon-72.png" gap:platform="ios" width="60" height="60" />
<icon src="Icon@2x.png" gap:platform="ios" width="120" height="120" />
<!-- iPad -->
<icon src="Icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="Icon-76.png" gap:platform="ios" width="152" height="152" />
<!-- Settings Icon -->
<icon src="Icon-Small.png" gap:platform="ios" width="29" height="29" />
<icon src="Icon-Small@2x.png" gap:platform="ios" width="57" height="57" />
<!-- Spotlight Icon -->
<icon src="Icon-Small-50.png" gap:platform="ios" width="40" height="40" />
<icon src="Icon-Small-50.png" gap:platform="ios" width="80" height="80" />
</widget>
搜索了很多,但找不到解决方案。任何帮助将不胜感激。
【问题讨论】:
-
我会尽量不使用 phonegap 构建,而是使用正常的方式。因此,使用 cordova/phonegap 编译您的 iOS 应用,无需在线构建。
-
希望您的捆绑包 ID 和版本与 iTunes Connect 匹配。您应该包括每个设备的启动图像(启动画面)。一个普通的启动画面是不够的。
-
我设法删除了所有错误。但第一个错误我仍然不知道如何删除它。
标签: ios cordova app-store phonegap-build ipa