Iphone sdk: application icon not displaying in simulator

iconsipadiphoneplist

I added an Icon.png to my Groups and Files in Xcode for my project. I specified in the .plist file to use Icon.png. I checked the root folder and it successfully copied Icon.png. But when I run the simulator the icon on the home screen is still gray?

Also note, when I first added the icon it worked! Then I changed the Bundle Name, Bundle identifier and Bundle display name. The simulator created a second icon on the home screen, both of which opened the same app.

I deleted both icons from my home screen and now after a build it always creates a gray button.

I tried reverting the plist to a day priors backup, just changing the icon, no luck! I also tried creating a new blank project and adding the icon, still no luck.

It's driving me nuts, it's in the project as Icon.png and I've seen it show up before! I know this sounds crazy, but how could changing Bundle info effect the icon at all?

Best Answer

I was unable to get the Icon.png to show up in my Resource list in Xcode until I actually dragged and dropped the icon from Finder into the Xcode Resources folder.

Just physically placing the file out there and setting its name in the info-plist file didn't do the job.

Related Topic