CFBundleIconFiles项未在XCode中显示 [英] CFBundleIconFiles Key is not Showing Up in XCode

查看:72
本文介绍了CFBundleIconFiles项未在XCode中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法将多个图标文件添加到应用程序的info.plist文件中.我已经阅读了Apple网站上的文档,也阅读了StackOverflow上的许多文章,但是有些地方不太正确.

I'm having trouble adding multiple icon files to my application's info.plist file. I've read the docs on Apple's site, and I've read many of the articles here on StackOverflow, but something isn't quite right.

当我打开info.plist文件并单击图标文件"条目旁边的"+"按钮时,我尝试添加图标文件"条目(请注意添加的"s").但是,该条目不会出现在下拉列表中.当我将视图切换到显示原始键/值"时,仅显示CFBundleIconFile.必要的CFBundleIconFiles(同样,请注意"s")未显示在我的下拉列表中.

When I open my info.plist file and click the "+" button next to the entry for "Icon File", I make an attempt to add an entry for "Icon files" (notice the added "s"). This entry does not come up in the dropdown list, however. And when I switch the view to "Show Raw Keys/Values", only the CFBundleIconFile shows up. The necessary CFBundleIconFiles (again, notice the "s") does not show up in my dropdown list.

我需要设置XCode中的设置来显示这些新值吗?我正在使用SDK 4.3运行3.2.6.

Is there a setting in XCode I need to set to get these new values to show up? I'm running 3.2.6 with SDK 4.3.

谢谢!

推荐答案

如果我正确遵循的话,您在启用多个图标文件及其各自的分辨率时遇到问题吗?除了在.plist中设置主菜单(当您使用XC3,而XC4的界面允许内置视网膜和非视网膜选择)之外,其他菜单只需与主Icon.png文件位于同一位置即可.

If I follow correctly, you're having issues with enabling multiple icon files and their respective resolutions? Apart from setting the main one inside your .plist (as you're using XC3, whereas XC4's interface allows for retina and non-retina selections built in) the others simply need to be in the same place as your main Icon.png file.

这可能会进一步为您提供帮助:

This might further help you:

iPhone图标大小

这篇关于CFBundleIconFiles项未在XCode中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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