Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS app icons updated, not showing on clean Build/Run

Tags:

xcode

ios

iphone

I'm prepping for my first update (1.0.1) on the AppStore and will be changing the icon in the process. I deleted the old 57x57 and 114x114 icons, dropped new ones into Xcode 4's target summary, and did a clean build/run. The new icons show up in Xcode, but not on the device's home screen.

I suspect if I delete the app and redo the above steps, this may work, but that leaves me to wonder if an AppStore distribution will update the icons for all users.

Is there something I'm forgetting to do to update the icon for this next release?

like image 780
Old McStopher Avatar asked Nov 21 '11 21:11

Old McStopher


2 Answers

I was having this problem when replacing icons for an app, the new icons didn't show up on the iOS device, no matter how many times I did a clean/build. The solution for me was to reboot the device and the new icons were recognized.

I'm guessing this is a problem only in development, it is likely that the cached icon is refreshed when an app is installed or updated from the App Store.

like image 69
Kekoa Avatar answered Sep 20 '22 07:09

Kekoa


The answer turned out to be that my new icons had slightly different names than the old. Strangely, Xcode never complained and still showed them next to the target and in the summary.

Lesson learned: When doing an app update (or "Appdate"), modified resources need to be of the same file name to be found. It seems replacing a resource with a different resource is not sufficient. Overwriting the old resource is the way to go.

like image 32
Old McStopher Avatar answered Sep 22 '22 07:09

Old McStopher