如何更新我的 iPhone 应用程序的应用程序图标?
我们有一个更新版本的应用程序图标来替换现有的图标,我们尝试简单地用新版本(图像文件)覆盖旧版本(图像文件),构建然后部署,我们在设备上发现的仍然是我们的应用程序使用旧图标。这是正常行为吗?满足此类需求的“官方”步骤是什么?请注意,我们仍处于开发阶段,这就是为什么我们需要根据设计师完成的新艺术作品来更新我们的应用程序图标。
We have an updated version of our app icon to replace the existing one, we tried to simply overwrite the old one (image file) with the new version (image file), build and then deploy, what we found on the device is still the old icon being used for our app. Is this a normal behavior, what's the "official" steps for such needs? Note that we are still in development stage, which is why we need to update our app icons based on the new art work done by our designers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
即使我也遇到了同样的问题,&这只是因为应用程序仍然引用旧图标文件,或者可能尚未从资源中删除,您可能选择在删除应用程序图标时仅参考。
这很简单,
为了方便后续操作,我也附上了屏幕截图:;)
1) 从应用程序中删除您的应用程序 icon.png,选择选项“也移至垃圾箱”。
2) 现在干净构建 & 所有目标。
3) 在查找器中显示应用程序中的资源文件夹首先将您的新应用程序图标复制到那里。
4) 现在,拖动并单击将新的应用程序图标从应用程序查找器拖放到您的资源文件夹中,并确保选中复制项目的选项。
5) 另外,在将应用程序提交到 AppStore 之前,请确保在您的 中进行更改.plist 文件。将值 icon.png 值添加到 Icon 文件键。
一旦完成所有步骤,只需重置模拟器即可。运行应用程序。我相信这会解决你的问题。
Even i faced the same issue ,& its just because the app still has the reference to the old icon file or may be it has not been deleted from the resources, you may have opted for reference only while deleting the app icon.
It's simple ,
For easy followup I have attached the Screenshots too : ;)
1) Delete your application icon.png from the app, selecting an option "Also Move to Trash" .
2) Now Clean build & all the targets.
3) Reveal in finder the resource folder in your app & first copy your New App icon over there.
4) Now, drag & drop the new application icon from application finder to your Resource folder, make sure to check the option to copy items.
5) Also, prior to submitting the application to AppStore, make sure to do changes in your .plist file.Add value icon.png value to Icon file key.
Once, you are done with all the steps, just reset your Simulator & Run the app. I am sure that would solve your problem.
首先删除 icon.png 然后选择要创建图标的图像,选择并将其拖动到以下位置并清理您的项目(Cmd + Shift + k)。
现在运行项目并更改应用程序的图标。
我认为这对你有帮助
First of all delete the icon.png then select the image you want to create the icon select and drag it and put the following place and clean up your project(Cmd + shift + k).
Now the run the project and it change the icon of the application.
i think it's helpful for you
执行 cmd+k (清理)然后 cmd+r (运行)
do cmd+k (to clean) then cmd+r (to run)
在重新部署之前先清理构建文件夹,Xcode 会缓存一些数据。要清理构建文件夹,请转到产品并按住选项,将会有一个选项。
Clean build folder first before you redeploy, Xcode cache some of the data. To clean build folder, Go to Products, and hold option, there will be an option to.
参考 Apple 技术文档,了解故障排除 部分。该技术文档提供了有关此图标问题的详细信息。
以下是我遇到的情况。
我的项目使用
App Icons Source
来管理应用程序图标,但Info.plist
还包含资源中的图标文件和图像。
更多...
如果您遇到以下情况,请参考该苹果文档,它会对你有帮助。
Reference Apple Technical docs, about Troubleshooting section. That technical document gives details about this icon issue.
The following is what I encounter.
My project use
App Icons Source
to manage app icons, but theInfo.plist
also containsIcon files
, and images in the resources.More ...
If you encounter following case, reference that apple docs, it will help you.