Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-17-2008, 04:28 PM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Unhappy App Distribution Issue - lacking Icon.png -

Hi everyone,

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.

Thanks,

hogeo
hogeo is offline   Reply With Quote
Old 08-17-2008, 05:56 PM   #2 (permalink)
Registered Member
 
Join Date: Jul 2008
Location: Minneapolis, MN
Posts: 208
Scuba is on a distinguished road
Default

What are you using to create the PNG? Photoshop?
Scuba is offline   Reply With Quote
Old 08-17-2008, 06:46 PM   #3 (permalink)
Some guy
 
MattCairns's Avatar
 
Join Date: Jul 2008
Location: Canada
Posts: 103
MattCairns is on a distinguished road
Send a message via AIM to MattCairns
Default

is it also added in your plist?
MattCairns is offline   Reply With Quote
Old 08-17-2008, 07:13 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: London
Posts: 21
hypercrypt is on a distinguished road
Default

Have you set the Icon.png file in your Info.plist file?
hypercrypt is offline   Reply With Quote
Old 08-17-2008, 08:52 PM   #5 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 802
scottiphone is on a distinguished road
Default

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
scottiphone is offline   Reply With Quote
Old 08-18-2008, 04:07 AM   #6 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Unhappy

Thanks everyone,

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 ...
hogeo is offline   Reply With Quote
Old 08-18-2008, 01:05 PM   #7 (permalink)
Some guy
 
MattCairns's Avatar
 
Join Date: Jul 2008
Location: Canada
Posts: 103
MattCairns is on a distinguished road
Send a message via AIM to MattCairns
Default

Quote:
Originally Posted by hogeo View Post
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?
MattCairns is offline   Reply With Quote
Old 08-18-2008, 01:20 PM   #8 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 802
scottiphone is on a distinguished road
Default

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.
scottiphone is offline   Reply With Quote
Old 08-22-2008, 04:54 AM   #9 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Default

>MattCairns

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??

thanks,

hogeo
hogeo is offline   Reply With Quote
Old 08-22-2008, 05:29 AM   #10 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: London
Posts: 21
hypercrypt is on a distinguished road
Default

You know that icon.png is NOT the same as Icon.png!

Also make sure that the Info.plist file has an entry for:

Icon file -> Info.png
hypercrypt is offline   Reply With Quote
Old 08-22-2008, 10:18 AM   #11 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Default

>hypercrypt

auh, yeah. I just wrote it wrong here. I confirmed that I have Icon.png, not icon.png in Info.plist and in my project file. Thanks!
hogeo is offline   Reply With Quote
Old 08-24-2008, 05:50 PM   #12 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Default

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.

Any help is really really appreciated.... thanks,
hogeo is offline   Reply With Quote
Old 08-24-2008, 05:54 PM   #13 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: London
Posts: 21
hypercrypt is on a distinguished road
Default

Is your Icon.png ticked for the target?

I have just recreated your problem. It seems your Icon.png isn't included in the target:



There has to be a tick at the far right of Icon.png (mine is called appLogo.png in the example - highlighted).

Before it'll work, you'll have to clean all targets:

"Build -> Clean All Targets"

Last edited by hypercrypt; 08-24-2008 at 06:11 PM.
hypercrypt is offline   Reply With Quote
Old 08-24-2008, 06:36 PM   #14 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Default

>hypercrypt

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???
hogeo is offline   Reply With Quote
Old 08-24-2008, 06:38 PM   #15 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Default

Or, do i have to change "path-type" or "file-type" for Icon.png in Info???
hogeo is offline   Reply With Quote
Old 08-24-2008, 06:41 PM   #16 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: London
Posts: 21
hypercrypt is on a distinguished road
Default

Quote:
Originally Posted by hogeo View Post
The stuff inside the project are all ticked except Info.plist and myTest.app. Should I also tick for some of them??
No, that is correct. If you go to the Icon.png, right-click and press on Reveal in Finder, where does that take you?
hypercrypt is offline   Reply With Quote
Old 08-24-2008, 06:48 PM   #17 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Default

>hypercrypt

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.

I think this is correct path..
hogeo is offline   Reply With Quote
Old 08-24-2008, 07:14 PM   #18 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 38
hogeo is on a distinguished road
Default

>hypercrypt

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.
hogeo is offline   Reply With Quote
Old 02-27-2009, 05:52 PM   #19 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 1
united2help is on a distinguished road
Thumbs up Fixed it for me.

Quote:
Originally Posted by hogeo View Post
>hypercrypt

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.
united2help is offline   Reply With Quote
Old 12-09-2009, 12:29 PM   #20 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: San Francisco
Posts: 15
PeddlePower is on a distinguished road
Default

Quote:
Originally Posted by united2help View Post
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

Cheers!
~P
PeddlePower is offline   Reply With Quote
Old 12-09-2009, 01:53 PM   #21 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
itzdark is on a distinguished road
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

Quote:
Originally Posted by united2help View Post
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.
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me
itzdark is offline   Reply With Quote
Old 12-09-2009, 02:46 PM   #22 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 129
gonk is on a distinguished road
Default

Quote:
Originally Posted by itzdark View Post
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.
gonk is offline   Reply With Quote
Old 12-09-2009, 03:28 PM   #23 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: San Francisco
Posts: 15
PeddlePower is on a distinguished road
Default

hehe... and here's another...

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
PeddlePower is offline   Reply With Quote
Old 12-09-2009, 10:46 PM   #24 (permalink)
Registered Member
 
mobileben's Avatar
 
Join Date: Jul 2009
Location: Zgrunturos
Posts: 161
mobileben is on a distinguished road
Default

Quote:
Originally Posted by PeddlePower View Post
hehe... and here's another...

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.
__________________
Have a Poketastic time with QuitIt!
Arcade Basketball at it's best! Hoops Madness!
VS action on the iPad with Hoops Madness VS!
Sweet trailer here!
mobileben is offline   Reply With Quote
Reply

Bookmarks

Tags
app, distribution, icon, png

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 316
13 members and 303 guests
chiataytuday, coolman, givensur, glenn_sayers, guusleijsten, ipodphone, jbro, mediaspree, mottdog, mtl_tech_guy, Punkjumper, vilisei, whitey99
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,114
Posts: 402,883
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:25 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0