且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

图像路径无效 - 在密钥“CFBundleIconFile”下引用的路径中找不到图像:Icon.png

更新时间:2023-11-22 18:02:28

听起来你可能,像我一样,已经接受了XCode 5.0的建议,将你的图标文件迁移到目录。

Sounds like you may, like me, have accepted the suggestion by XCode 5.0 to migrate your icon files to a catalog.

当你这样做时,你需要删除项目的.plist文件中的CFBundleIconFile(Icon file)参数。这是执行此操作的旧方法,一旦您迁移了图标文件,显然该参数不正确。

When you do that, you need to remove the CFBundleIconFile ("Icon file") parameter from your project's .plist file. That's the old way of doing this, and once you've migrated your icon files, obviously that parameter is incorrect.

奇怪的是XCode的迁移无法为您解决此问题自动。本来非常Apple会帮助你。

Strange that XCode's migration doesn't fix this for you automatically. Would have been so very Apple to help you out there.