App icon not showing up on iPhone 5 device during testing

独自空忆成欢 提交于 2020-01-03 08:39:11

问题


I have a 120x120 icon image that's working fine on emulators - however when I try it on my device, the icon doesn't show up. Any thoughts?


回答1:


I figured it out. This was actually really annoying. So the UI designer had simply renamed his .psd files with .png and xcode thought this was fine. However, renaming the .pngs isn't going to automatically make them real .pngs. The way I solved this was going to mac preview and exporting the files to the PNG format.




回答2:


Sometimes some of the images get cached by the OS.

  • Delete your app completely from your mobile device (press and hold, then delete the app)
  • Turn off your device and turn it on again.(This ensures that the cache gets cleared)
  • In xCode, clean the project and rebuild.
  • Load the software again you your device.

You should be able to see your icon as long as its properly added to your project.




回答3:


Drag your app over another app to group both into a folder. Then drag the app out of the folder.




回答4:


Check your info.plist file. Make sure the icon entry looks something like this (use your own image file names of course):

If you see another "Icon already includes gloss effects" row outside, remove it.




回答5:


It is not uncommon not to see your app icon on the device. However, when your app is being uploaded to the App Store, everything will be fine.

Is your iOS device running iOS7? If not, you will need to include 57x57 and 114x114 icons as well. See https://stackoverflow.com/a/18737063/1646862 for icon sizes apple requires. It is always good to include all icon sizes you may need in your iOS bundle.



来源:https://stackoverflow.com/questions/19433144/app-icon-not-showing-up-on-iphone-5-device-during-testing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!