上传app到appstore的error

来源:互联网 发布:苹果电脑进水数据恢复 编辑:程序博客网 时间:2024/05/21 06:49

一.ERROR ITMS-90096
这里写图片描述
这是最常见的问题,据说是苹果的bug。明明LaunchImage里有iphone5的启动图片,但还是报错。可以按以下方法解决
1.添加一张启动图片到项目的根目录,尺寸为320*568,格式为png,命名为Default-568.png。
这里写图片描述
2.使用文本编辑打开info.plist,添加下面代码
<key>UILaunchImages</key>
<array>
<dict>
<key>UILaunchImageName</key>
<string>Default-568</string>
<key>UILaunchImageSize</key>
<string>{320, 568}</string>
</dict>
</array>

在xcode打开info.plist,如图
这里写图片描述

添加成功
3.shift+command+K clean一下
4.command+B build一下 如果xcode没有报错就可以重新上传了。我之前是图片有问题报错了,上传还是失败,后来重新做了张图片,就成功了
这里写图片描述
二.
ERROR ITMS-90705: “Launch storyboard not found. Make sure you specify the launch storyboard filename without a filename extension for the key UILaunchStoryboardName in the Info.plist.”
检查info.plist里的LaunchScreen
UILaunchStoryboardName
LaunchScreen
检查LaunchScreen.storyboard是否存在
也可以使用LaunchImage,将设置里的LaunchScreen File清空
这里写图片描述
三.ERROR ITMS-90022: “Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘57x57’ pixels, in .png format for iOS versions < 7.0.”
WARNING ITMS-90025: “Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for ios versions >= 7.0.”
INFO ITMS-90111: “Your app is built with a beta version of Xcode or iOS SDK. Only apps distributed for beta testing may be built with beta software. To submit an app for distribution on the App Store, you will need to build the app with release versions of Xcode and iOS SDK
缺少app icon,在image.xcassets里的添加即可
这里写图片描述
所有的图标都要按照尺寸添加

原创粉丝点击