项目重命名后 iPhone 应用程序图标显示为空白

发布于 2024-10-07 13:25:35 字数 206 浏览 0 评论 0原文

我正在使用 4.2 iOS SDK 开发一个应用程序,最近将项目名称更改为其他名称。它编译并运行良好,但现在 info plist 中定义的图标文件不再工作。当我构建并运行时,应用程序图标在模拟器和我的 iPhone 4 设备上都显示为空白。

我尝试过更换不同的图像文件,但无济于事。我还清理了我的构建和目标。有什么想法为什么会发生这种情况以及如何解决它吗?

谢谢!

I'm working on an app using the 4.2 iOS SDK and recently changed the name of the project to something else. It compiles and runs fine, but now the icon file defined in the info plist is no longer working. When I build and run, the app icon shows up at blank on both the simulator and my iPhone 4 device.

I've tried swapping out different image files but to no avail. I also cleaned my build and targets. Any ideas why this is happening and how to fix it?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

萝莉病 2024-10-14 13:25:35

也许重命名导致您的 info.plist 中的某些内容不匹配,因此它被忽略了?

Perhaps the rename caused something to not match in your info.plist so it is being ignored?

酒浓于脸红 2024-10-14 13:25:35

我实际上看到了这个答案并且它有效!

iPhone [电子邮件受保护]未在 Retina 显示屏中显示

I actually saw this answer and it worked!

iPhone [email protected] not showing in Retina display

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文