iTunesArtwork breaking release submit to app store - iphone

I have an iOS 4.3 iPhone app built in Xcode4 that I'm submitting through the Application Loader app. I keep getting this error:
Icon specified in the Info.plist not found under the top level app wrapper: iTunesArtwork
I do have the following set:
iTunesArtwork (JPEG with no extension) in root folder
iTunesArtwork reference in Resources file
512x512 image size
'Item 0; under 'Icon Files' array in info.plist
Far as I can tell, the above is exactly as it should be for the iTunesArtwork. Any ideas which step I missed?

iTunesArtwork should be a PNG file and you shouldn't include it in the Icon Files in info.plist.
Everything you need to know about app icons can be found in the following Q&A article.
http://developer.apple.com/library/ios/#qa/qa1686/_index.html

You just include the iTunesArtwork (png with no extension) in the root folder of your project. Do not add it to your info.plist (this is unnessary and icons without extensions break Application Loader). Your CFBundleIconFiles should contain these icons only:
Icon.png
Icon-72.png (optional for iPad)
Icon#2x.png (optional for Retina)
Icon-Small.png (optional for Search and Settings)
Icon-Small-50.png (optional for search on an iPad)
Icon-Small#2x.png (optional for Search and Settings)
(You can replace the word Icon with whatever you want)
The top three are the important ones, but since you already have the iTunesArtwork it isn't too hard to make the others.
You should also set your CFBundleIconFile to just Icon.png to support older iOS versions

I think this blog will help you getting more details about current grapichs required for iOS app submission.
The iTunesArtwork -
The Artwork need to do by every iOS Developer
thanks,
Naveen Shan

Related

iPhone App Icon in Binary

I understand many different sized icons for my app are required for App Store Submission according to Apple's Documentation. However, I am unsure on how to include them? Do I just add them as Icon.png to the Binary?
This is much easier to handle in xcode4 if you have it, just click on your project (should be at the top of the project navigator window) then go to the summary tab, and you can select the icons from there. Then when you build your app, they will be included in the binary
You include them in your project and reference them from your info.plist file under the icon files section.
Here is an updated list of the filenames and sizes you can add: http://www.weston-fl.com/blog/?p=840/

Why is app icon white?

Some recent version of iOS caused my app icon to turn white. I've gone through everything in regards to images and can't find the issue. I'm running Xcode 3.2.5 with sdk 4.2. I do have an entry for "Icon files" in Info.plist with 5 keys:
Item 0 myapp.png
Item 1 myapp#2x.png
Item 2 myapp-72.png
Item 3 myapp-Small-50.png
Item 4 myapp-Small.png
Item 5 myapp-Small#2x.png
All the above have proper dimensions.
I see the image in 'Copy Bundle Resources' and also in the .app file for the simulator version. It is properly reference by name in 'Icon files', Item 0. It is not named Default.png since it is referenced by name in Item 0.
Any suggestions?
You just need those 3 Files:
Icon.png
Icon#2x.png
Icon-iPad.png
Put the names into the Info.plist under Icon Files.
EDIT: Clean your target if it still won't work!
That is what helped me (project summary - app icons are ok, iOS simulator - app icons are ok, iPhone device - blank icon).
Just reconnect your icons to project by dragging them from project navigator to App icon section in project summary.
When does it turn white? If you upgrade an app when it's running, sometimes it appears with a white icon in the "task" bar. This applies to apps you're developing and those download from iTunes. The fix is usually just to kill the app and restart.
That's the simplest answer, but I suspect might not be the solution.
Does the case of the file names in your Info.plist match the actual file names? The Simulator is not case sensitive but the iOS is.
You might also like to make a completely clean build. Don't just do a "Clean" in Xcode, instead manually clear out your build folder.
Finally, when the iPhone 4 first came out I had some issues with the order of the icons referenced in the Info.plist. I never saw white icons (usually just the non-Retina version) but this may be something worth playing with if nothing else works.
The icon file name may be too long if it is a custom file name. This is just a guess, and I hate guessing, but this appears to have been the problem I just had.
I have four targets using the same code but with different icons. I named the icons differently based on the app name, so I could store them in the same directory.
For example:
Icon.png
Icon_second.png
Icon_alternate.png
Icon_second_alternate.png (or Icon_secondalternate.png in case underscores were an issue)
This nomenclature was used for all of the icon names (there's 8 icon files to support iPhone, iPad, retina, etc).
The last one was giving me a problem. Despite a hundred clean/rebuilds, deleting the schema entirely and creating a new one, fruitless efforts, it suddenly occurred to me to try renaming it.
You should be able to name the icons differently, as I still use the first three versions. They are listed in the plist file and render in the project summary, and on the simulator, just fine. The last one rendered in the summary as well. However, I think the length of the file name was too long for the simulator. There must be a length limit. I renamed the fourth one to use the standard Icon.png naming but added it to the fourth target only (images are stored in a separate folder).
CONCLUSION: If you have more than one target for your app, use the standard naming system for all of your icons but add them to separate folders, and then when adding to Xcode just set the build target appropriately.
If you still have the default icon entry (even blank), this can happen, remove that entry in info.plist.
Also, Default.png would be your splash screen.
Load the icons into the Preview application, and make sure they are really png format (and not just named such) by doing a "Save As..." specifying PNG format in the save dialog. Do a Get Info to check the sizes. Make sure the case of all letters in the name match your plist entries.
I had the same problem recently - the Icons I was using were created in GIMP. When I opened them in Photoshop on the development Mac it complained about an ICC color profile. After re-saving the PNGs in Photoshop the Icons worked like a treat.
P.s. I just repeated my steps in creating the images in GIMP, but when saving unticked every extra option that GIMP - by default - was trying to add into the image when saving it. The icons worked perfectly this time around.
If you believe your icon configuration is correct, then you may simply be seeing a bug in Xcode.
As a workaround…
"Clean" your project. Choose Xcode > Product > Clean.
Delete the app from your simulator, or even reset the Simulator by choosing iOS Simulator > Reset Content and Settings.
Quit both the iOS Simulator and XCode apps, then restart them.

Xcode : Missing icons for iOS apps in Organizer's archives

If I choose "build and archive" from XCode, the Organizer is launched and I can see a list of my archived applications. I have 4 different applications (with several archives each), but the icon that's displayed in Organizer for one of the apps is missing -- there is a question mark icon instead. The app does have an associated icon and it validates and submits to the app store without any issues.
Why isn't Organizer picking up the icon correctly and how do I fix it?
Not a bug, I think you need to have at least one for Iphone and a bigger one for ipad (although my app is only designed for iphone...). I replaced the "icon file" key with "icon files" in the plist file and put one 52x52, one 72x72 and also one 114x114.
I think it is a bug. I see the same for all my apps that I Build & Archive.
Include in the info.plist for the key "Icon File" the value "Icon.png".
Do not forget to also include the image in the container.
I have the same problem, and I solved it by adding a "Icon file" in info.plist, and adding a "Icon files" after "Icon file", and the icon is fine in organizer. I think that might a parsing sequence problem.
Those of you that have upgraded to Xcode 4.3 and are having problems with the Application Icons showing up in the Organizer Window under Archives, look at this posting which includes a solution:
Xcode 4.3 : missing icons for iOS apps in Organizer's archives
When I had a missing icon in the organizer, I appended
.icns
to the Icon file name in the Info.plist file.
For XCode 4.2 :
Patrick Burleson's answer is correct, and worked for me. However, the icon that showed up in the organizer was still fuzzy/low-resolution after doing that. I fixed this by putting Icon#2x.png in the "Item 0" slot of 'Icon Files', instead of putting Icon.png there as I had before. No idea why I should need to do that, but in any case, if someone else has that issue, that may be the way to fix it.

Is CFBundleIconFiles the same as Icon File?

I am trying to add a hi-res icon to my iPhone app. Is Is CFBundleIconFiles the same as Icon File in the screenshot below?
Have a look at the following question on Stack Overflow, this should clear things up:
How do I specify both icons for a universal iPhone/iPad app?
In short, no it's not the same. The Icon File setting is the pre-iOS4 setting, but you should keep this for iOS3 compatibility if you allow your app to install on iOS3. The Icon File setting should point to the 57x57 sized icon.
iOS4 uses the Icon Files setting, which is actually an array containing all filenames of all the icons. It scans through all the specified icons and uses the one with the closest matching size for the job. You should add your high resolution icon to this list as well as the standard 57x57 icon.
As Yannick pointed out, 'CFBundleIconFiles' is not the same as 'Icon Files', but there is another relation:
'Icon File' is the Xcode name for the key 'CFBundleIconFile' and
'Icon Files' is the Xcode name for the key 'CFBundleIconFiles'.
So those are equivalent. See Apple's Core Foundation Keys Reference.

Why is my icon not being distributed to the device?

During the work on my iPhone application the icon changed from time to time. Colleagues or management came with fancy new ideas and .pngS and all I did was changing the Icon.png in the file system. Most times the new icon was distributed to simulator or device with the very next build, sometimes I had to delete and add th icon.png in Xcode (images), but it worked.
Then, the other day I added the UIPrerenderedIcon element to the info.plist to eliminate the icon's shine (it worked) and since I did, I've problems with bringing new icons to the device:
Simulator shows new icon when in debugging mode
Simulator doesn't present new icon in release mode (only when debugging was used before)
Never new icons on any iPhone or iPod
Whenever icon distribution fails, a white square or (even stranger to me) an old icon (corresponding .png is completly eliminated from the file system) is shown
Any ideas?
Try cleaning all targets, that is most likely the case of the old icon showing up.
Also, this happened to me a few times (with in app images)...
The simulator is case insensitive to file names, but the device IS case sensitive.
So, if in the info.plist you say your icon file is: ICON.png
But the actual file is named: icon.png
Then, the simulator will display the icon, However, the device will not.
When ever you change the icon image Try deleting the old application from the simulator/iPhone and thenm reinstall it.. Some times such problem occur with me too.. and also
FOR icon on iTunes
Make the icon image 512 x 512 JPEG or PNG file named iTunesArtwork. Then go to get info and remove the extension. Note that the file must not have an extension.
After generating the file of your application’s icon, follow these steps to add it to your application:
Open your project in Xcode.
In the Groups & Files list, select the Resources group.
Choose Project > Add to Project, navigate to your iTunesArtwork file, and click Add.
In the dialog that appears, select the ”Copy items” option and click Add.
Note that the PNG or JPEG file is just 'iTunesArtwork', with no suffix.
If you try to copy the file into the application bundle after you have built it, it will break the app signing, and you will get a verification error when trying to sync it to your device. Ensure that the artwork file is included in the "Copy Bundle Resources" folder, within your project's target in XCode (step 4, above).
Then drag and drop your app file to the iTunes for cross checkin whether you have done all things correct or not.
Hope this helps..
Start Application in xcode
1 Change the name of the icon.png to icon1.png
2 Remove the app from the simulator or the device
3 Clean all targets
4 Change icon1.png back to icon.png
5 Run app again