Where do I set the application icon in an iphone app - iphone

I wrote an app for iphone. All is working. I see it in an ipod. I have done all the testings and thanks to you guys I was able to resolve all my issues so far. Where do I set my application icon? I know it is in info.plist. But how do I change it?
Thanks
Saro

This is what I have in my Info.plist for the icons of all supported devices (ipod, iphone, retina display, ipad):
The #2x files refer to retina display. The -72 refer to ipad.
EDIT:
This is the textual representation of the list above in my info.plist file:
<key>Icon files</key>
<array>
<string>Icon.png</string>
<string>Icon#2x.png</string>
<string>Icon-72.png</string>
<string>Icon-Small-50.png</string>
<string>Icon-Small.png</string>
<string>Icon-Small#2x.png</string>
</array>
XCode 4 EDIT;
As of Xcode 4, the best way to set the icons for your app is to access the Summary pane of your target settings, as displayed in the image below, and drag-drop the icons on the available controls (separately for iPhone and iPad, retina and non-retina).

If you're using Xcode 4, the easiest way to change the icon is to drag a new icon into the App Icon pane of the target summary panel. Select your project in the project navigator, click on your target, select the Summary tab, and if necessary scroll down a bit until you see the App Icon pane. If you don't see it, try clicking the disclosure triangle next to the "iPad/iPhone Deployment Info" title. You can also set things like the main nib, supported orientations, and launch image(s).

See the Icon and Image Design section of the mobile HIG, which provides details about every icon you need and how to configure them appropriately.

For latest versions of Xcode, do the following:
1) Go to image assets,
2) Select App Icon
3) Drag and drop necessary files

Related

Xcode puts Default.png in my plist as an Icon file when I assign a Launch Image

When I set a Launch Image, Xcode creates a copy as Default.png and creates an entry in my plist in Icon Files (iOS 5) / Primary Icon / Icon Items --> Item 1 : Default.png
Item 0 : MyIcon.png is the app icon which I have already placed through the Target.
The reason this is a problem is that the launch image then takes precedence over the actual icon and as a result, it shows as the primary icon instead of my actual icon image.
Why is Xcode doing this?
Can I safely delete the Default.png entry from my .plist? (this seems to fix the problem)
Do I need to copy Default.png somewhere else?
Thanks!
There is also an alternate way. Follow this simple step:
Just delete the Default.png file. Select it again in the summary section project's target settings. you can also drag drop it the on the icon of launch image in the summary section.
The answer is that if you are developing and app for iOS 5, there are two different sections for declaring your icons. The Info editor in the Project editor doesn't show the iOS 5 section. You have to load the file in the Property List editor.
Basically for pre-iOS 5 there is 'CFBundleIconFiles', for iOS 5+ it's 'CFBundleIcons'
Make sure that these have the same icon files names in them.

xcode app icon is not applied anymore

I have been testing and developing my app since few months and now, app icon applied on device not correspond as icon set on target summary. I tried to remove it and attach it again but no succes! App icon appears on device as a small capture of splash screen! Why? How to solve it? Thank you
Make sure that the file name under the "Icon Files" key in the info.plist is same as your app icon file. You can view the info.plist by selecting the target and then selecting the "Info" tab.

Icon not appearing in Xcode archive?

My app icon isn't appearing in Xcode archives. I have them set in the plist and they are showing on the simulator, on the device and in the project settings. See the picture below:
How can i fix this? Im using the 4.3.1 by the way.
Thanks...
Try this:
Delete all versions of your app from your device.
In Xcode, do "Command+Option+Shift+K" and say yes.
Try to archive again?
Btw, I don't think Default.png and Default#2x.png should be in your icon list.
Don't forget to add small icons and an App Store icon to the project.
Don't forget on correct icon naming. And the Default.png shouldn't be in the .plist.
Also check the target of the icon files.
Icon.png
Icon#2x.png
Icon-72.png
In Xcode press
Command+Shift+K and press Yes.
Command+Shift+Alt+K and press Yes.
The try building, running and Archiving.
You are missing your iTunesArtwork as Item 6 in Icon Files in your plist. Apparently, this is where the Archive window get its image from.

How do I remove gloss from an iPhone app icon?

Here is a tutorial that tells you how to remove the gloss on an app in xcode. How can I do this in flash cs5?
If I can't, can I do something to the image in photoshop so that it looks like it has no gloss when the gloss is applied?
For the plist, you should have the row Pratik mentions with all the necessary icons listed in the array.
Some of you will do this and still not have a retina display or gloss reflecting these changes.
In XCode 4.3.2 and possibly earlier versions, make sure you check the "Summary" tab in your project settings. There you will find a section called "App Icons" that should show both your Icon.png and Icon#2x.png. Make sure you have the "Prerendered Icon" box checked.
Even after all this, you might not have the retina display working. Check the "Info" tab's "Custom iOS Target Properties" section.
Make sure you delete the "Newstand Icons" section if you aren't going to use them or it will stop your app from passing validation when submitting to the AppStore.
In the xml that is generated with your swf go to the node < InfoAdditions >
And add the following after
<![CDATA[
<key>UIPrerenderedIcon</key><true/>
before
<key>UIDeviceFamily</key>
Then when you compile, you icons will be without gloss
Set UIPrerenderedIcon to true in your plist. This may not work with older versions of iOS.
In iOS 5, there is an additional plist entry to be checked here:
Icon Files (iOS 5)
-> Primary Icon
-> Icon Already includes gloss effect

When you are using Xcode to make an iPhone app, how do you change the app's icon?

When you are using Xcode to make an iPhone app, how do you change the app's icon? Right now my icon for my app is just plain white.
Create a 57x57 PNG file and import it into your project bundle. Then open the .plist file that is included in your project and edit the value for the key "Icon File" to match the name of the icon you provided (CFBundleIconFile is the actual key, but the Xcode editor will display the nicer name for you).
In Xcode 4, you can go to your app's Summary page and there is a section called App Icons. Then just drag and drop an image into one of the "drop zones". It just works! :D
If you don't specify the icon in the Info.plist file, then Xcode assumes that a file named "icon.png" in your resources folder is the icon for the application.
In Xcode4 go to your applications summary section by selecting target project there you see section with name app icons.select your icon image of size 57x57.just do it it will work
In Xcode 5 you can do it very simply:
1) go to images.xcassets
2) click on AppIcon
3) select Show Overview instead of Slicing
4) drag and drop the appropriate icon sizes onto the icon slots
5) rebuild - and you are good to go.