应用程序图标没有显示,虽然我在Xcode 5中添加了 [英] App Icon not showing up, although I have added in Xcode 5

查看:173
本文介绍了应用程序图标没有显示,虽然我在Xcode 5中添加了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经添加了如下图所示的图标,但我仍然没有在设备或模拟器中看到图标。

I have added the icon as shown in the pic below but I am still not seeing the icon in my device or simulator.

推荐答案

这可能是一个XCode 5错误,添加的图标实际上并未包含在应用程序包中,但您可以通过转到Build Phases,展开Copy Bundle Resources,然后按下底部的+符号手动添加图标来解决它文件到这个类别。

This might be an XCode 5 bug that the added icons are not actually included in the app bundle, but you can work around it by going to Build Phases, expand Copy Bundle Resources, then press the "+" sign in the bottom to manually add the icon files to this category.

此外,iOS 5/6似乎有一个错误,即即使图标文件包含在捆绑包中,屏幕也不会更新应用程序图标。解决它(正如josema.vitaminew在在iOS 5模拟器中更新应用程序版本时应用程序图标不会更改)您可以将应用程序图标拖到文件夹中,然后iOS将更新它的外观。

In addition iOS 5/6 seems to have a bug that the screen doesn't update the app icon even if the icon files are included in the bundle. To work around it (as suggested by josema.vitaminew at App Icon not changing when app version is updated in iOS 5 simulator) you can drag the app icon into a folder, then iOS will update the appearance of it.

这篇关于应用程序图标没有显示,虽然我在Xcode 5中添加了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆