swift - ios 提交app store 报错 error itms 90096 怎么办?
天蓬老师
天蓬老师 2017-04-17 17:42:14
[iOS讨论组]

提交的时候报这个错误,根据网上其他人提供的方法,添加了Launchimage,并且把对应的图标和这个报错提示的Default-568h@2x.png也放进这个文件夹了。项目的Launch images source也设置了,可还是报错,怎么办?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

全部回复(1)
迷茫

1.加入启动画面图片,320*568 png图片
2.iphone5: 拷贝大于该尺寸的图片,加入到项目文件夹根目录,重命名为 Default-568h@2x.png

Info.plist
在info.plist中添加的UILaunchImageName需要对应在工程目录的根目录中添加的文件名

apple官方文档
https://developer.apple.com/library/prerelease/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW1
查找UILaunchImageName
原话是:
A string containing the name of the PNG image file.
字符串,一个PNG图片文件名字。
The image file must reside at the top level of the app bundle.
文件必须在项目文件夹的根目录(的最顶层?第一个文件?我的是放在第一个)。
The name you specify for this key should not include a filename extension, nor should it include modifiers such as @2x, -568h, ~iphone, or ~ipad.
在这个KEY值里指定的文件名,不能包含扩展名,去掉其他后缀,比如 @2x, -568h, ~iphone, or ~ipad.
On disk, your image filenames may still include the @2x, -568h, ~iphone, or ~ipad modifiers as appropriate, although they are not required.
实际的文件名仍然包括这些后缀,@2x, -568h, ~iphone, or ~ipad等等。
The system automatically considers such modifiers when choosing which file to load.
系统会自动考虑选择哪个带后缀的文件。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号