I've been trying to submit an app to AppStore. But, .app file that I built at the end always miss Icon.png.. Because of that, when trying to upload the application by using ApplicationLoader, I always get error says that there's no Icon.png.
Even if I manually add Icon.png to .app file, that seems to be also error, and says "PNG file is invalid. Certificate is invalid..."
How can I include Icon.png in the process of building app in Xcode?
I believe I follow the tutorial correctly.
make sure it matches the specs. 57 x 57 pixel png file and that you have the name exactly the same (upper/;owerr case is important) and it's listed in your Info.plist
Actually Icon.png is made by using "Preview" and changing its format into "png".
Icon.png is surely added on Info.plist. When trying simulation with Simulator, icon.png is added in app file and the icon show up on homescreen.
Yes, Icon.png is sure to be pixel 57x57..
Any other possible mistake that i may make???
Actually even if successfully I build app for "distribution | device", the app in builds/Distributuion-iphoneos has a wired mark, like a circle with diagonal stroke drawn inside.
Thanks everyone! It seems that I need more help to solve this issue ...
Any other possible mistake that i may make???
Actually even if successfully I build app for "distribution | device", the app in builds/Distributuion-iphoneos has a wired mark, like a circle with diagonal stroke drawn inside.
Thanks everyone! It seems that I need more help to solve this issue ...
The marking on your app just means that it cannot be run in mac os x.
Are you also getting a codesign error when uploading?
First, you can't modify an app after you built it. You can add (Icon, etc) or change anything (plist, etc) It has a checksum or other means to check that it hasn't been modified.
Second, Check your target build stage. Expand the target in the project list on the left. Check where it copies resources. Occasionally a resource you've added to the project (such as an icon) won't be copied to the target. In that can you have to drag the file in your project list specifcally to to the copy resources folder in the target.
If you're finished App doesn't contain the icon then it's not being copied.
Actually, every time I try to upload my app, error message says "i don't have icon.png", which is not about codesign. Is there possibility that wrong may codesign cause this missing icon issue??
>scottiphone "Expand the target in the project list on the left. Check where it copies resources. Occasionally a resource you've added to the project (such as an icon) won't be copied to the target."
Yeah, I checked target file. I think you mentioned the part of "copy bundle resource" in target file. I'm sure there's Icon.png as well as MainWindow.xib and MyViewController.xib...
Thanks everyone so far..
But, hmm, still I'm in trouble... Any other advices??
When I tested my app on the device, the app itself fully worked. Still, only small icon on the iPhone homescreen is missing. Right now, i can see white blank icon for my app on the iPhone screen...
Thus, I think Code signing stuff is correct because I installed my app without icon, but there should be something wrong for icon setting??... Does any of you have ideas??
Icon.png is surely 57x57 pixel, and listed on Info.plist.
When using simulator, small icon always shows up on homescreen while it doesn't on actual device.
Thanks for your in-depth and prompt explanation!!
I confirmed there is tick for Icon.png, and build my program after build and clean. But I'm still in trouble with the same issue.... X( Any other suggestion???
The stuff inside the project are all ticked except Info.plist and myTest.app. Should I also tick for some of them??
I also wonder the way of creating Icon.png.
How i did is that, by using Preview, I just changed the size of image into 57x57 and set the format as PNG. Do you guys also do the same thing for creating Icon.png???
Pressing Reveal in Finder lets me go to Icon.png that exists in my project file. The project file means that it contains Info.plist, main.m, MainWindow.xib, myTest_prefix.pch, myTest.xcodeproj, and Classes file which includes bunch of coding files.
Oh, i just found that, if I tried different icon which has completely different design, it fully worked and icon showed up.
So, it seems that the previous icon which i want to display has some serious problems... but I don't know why it has problems and how to fix them.
Thanks Hypercrypt, I recreated the Icon.png using fireworks and it worked perfectly. Instead of clicking save as PNG I selected export and set it as a PNG 8 file.
Thanks Hypercrypt, I recreated the Icon.png using fireworks and it worked perfectly. Instead of clicking save as PNG I selected export and set it as a PNG 8 file.
[Just including this for completeness.]
I had a similar problem... but it turns out my project file was confusing Icon.png with icon.png.
Here's how I solved it...
1. Backup your .xcodeproj
2. Click on your .xcodeproj and select "Show Package Contents".
3. Open the contained files with a text editor (XCode is fine), and start searching/replacing "icon.png" with "Icon.png" (or whatever your file is called)
4. Close/save.
5. Be sure your xxx-Info.plist also has the same filename...
ex. "Icon file" --> Icon.png
Thanks Hypercrypt, I recreated the Icon.png using fireworks and it worked perfectly. Instead of clicking save as PNG I selected export and set it as a PNG 8 file.
When u save as a png in fireworks that is the file type for fireworks like psd is for photoshop. You have to export it as a png to get the correct file type.
When u save as a png in fireworks that is the file type for fireworks like psd is for photoshop. You have to export it as a png to get the correct file type.
I haven't read all the replies, but you might also make sure there is no alpha (transparency) in your icon. Also, make sure the icon is in your project and part of the target.
Delete the Entitlements.plist in XCode (also move to trash).
Then recreate it in XCode...
1. New File | Code Signing | Entitlements. Name it "Entitlements.plist".
2. Edit the new file, unchecking "get-task-allow".
Delete the Entitlements.plist in XCode (also move to trash).
Then recreate it in XCode...
1. New File | Code Signing | Entitlements. Name it "Entitlements.plist".
2. Edit the new file, unchecking "get-task-allow".
Craziness.
~P
BTW, when you submit to the App Store you don't have the Entitlements file defined. If you read the info in the provisioning section, you use the entitlements for an adhoc build.