Page 1 of 1

no icon include with the app

Posted: Sun Jan 30, 2011 10:20 pm
by mamute
hello,

Excuse me for my english, I'm french.

I have a problem when I create the .app file, my icon was not included and I've the default icon but the app work well... these just the icon problem.

I try to compil with PB 4.41, 4.5 and 4.51..

I test all I can imagine for solutions but I don't try to resolve it... I need help.

Thank.

Re: no icon include with the app

Posted: Sun Jan 30, 2011 10:29 pm
by jamirokwai
mamute wrote:hello,

Excuse me for my english, I'm french.

I have a problem when I create the .app file, my icon was not included and I've the default icon but the app work well... these just the icon problem.

I try to compil with PB 4.41, 4.5 and 4.51..

I test all I can imagine for solutions but I don't try to resolve it... I need help.

Thank.
Hi mamute,
welcome :-)
Did you use the Icon Composer, which comes with xCode to create your icon?
Did you set the filename correctly in Compiler-Options?
Some Screenshots could help :-)

Try this:
- rightclick on the .App, show contents.
- double click the Contents/Info.plist
- Here you will find the information "Icon File"
The Icon-File should be in the Contents/Resources-folder.

Re: no icon include with the app

Posted: Sun Jan 30, 2011 11:11 pm
by mamute
thank for this fast reply...
jamirokwai wrote:Did you use the Icon Composer, which comes with xCode to create your icon?
no, there is a png convert to ico, but I'll try to make it with Icon composer
jamirokwai wrote:Did you set the filename correctly in Compiler-Options?
Yes, it the right name, with uppercase.
jamirokwai wrote:Some Screenshots could help :-)

Try this:
- rightclick on the .App, show contents.
- double click the Contents/Info.plist
- Here you will find the information "Icon File"
The Icon-File should be in the Contents/Resources-folder.
there is the correct icon in the ressource folder, but not in the finder when I see the .app

Re: no icon include with the app

Posted: Mon Jan 31, 2011 6:38 am
by WilliamL
The comment of checking the plist, by jamirokwai, was good. Use IconComposer and be sure the file ends with '.icns'.It should also be noted that it can take a while for the new icons to show because the system has to update it's info. There has been various methods suggested to force the system to update more quickly but none of them has worked reliably for me.

Re: no icon include with the app

Posted: Mon Jan 31, 2011 8:20 am
by IdeasVacuum
It should also be noted that it can take a while for the new icons to show because the system has to update it's info.
That is true on Windows as well. A quick way to check - just copy or cut the exe to another folder.

Re: no icon include with the app

Posted: Mon Jan 31, 2011 1:52 pm
by mamute
IdeasVacuum wrote:
It should also be noted that it can take a while for the new icons to show because the system has to update it's info.
That is true on Windows as well. A quick way to check - just copy or cut the exe to another folder.
I change the ico file to icns, re compile my app... no change, but I copy it and paste it to a new folder and it's ok...

Thank for your reactivity...