Where and how to define a icon for a application for OSX builds?
Please read our OS-X guide at:
https://docs.coronalabs.com/daily/guide/distribution/osxBuild/index.html
In particular, the Icons section…
If it helps, we use an app called Icon Slate to create the OSX and Windows icons.
Tnx.
But it cost money and for mac only. I`m on win, and trying to use this one: [deleted]
UPDATE: dont use that bad website - they are not adding 512 icons to pack.
Ah right yea, the Mac only thing is an issue. Luckily the majority of our dev is done on Mac so we can get away with that.
I downloaded and used the free app “Icns Builder.app” from the app store to make my “Icon-osx.icns” file. I have uploaded the app to the store but the icon is not showing up on the app page so should it? Also what other icon apps have people used that worked and show the icon in the dev portal?
How was you able to upload to MacStore? Did you sign your app on your own, or corona fixed creating install packages already?
When I tried to use the site https://iconverticons.com/online/ the app was rejected during upload because it did not have the correct .icns file.
I created and signed the PKG using Corona Daily build 2697 and then uploaded manually via “Application Uploader”.
I went ahead and submitted it for review and now after about an hour the icon is showing in the iTunes Dev Portal.
SIDE NOTE:
If you don’t want to use an application to make the .icns file then you can use the command line.
The following URL is where I found this info:
http://stackoverflow.com/a/20703594
Here’s a script to convert a 1024x1024 png (named “Icon1024.png”) to the required icns file. Save it to a filed called “CreateICNS.src” in the folder where your png file is then in terminal “cd” to the same folder and type “source CreateICNS.src” to call it:
mkdir Icon-osx.iconset sips -z 16 16 Icon1024.png --out Icon-osx.iconset/icon\_16x16.png sips -z 32 32 Icon1024.png --out Icon-osx.iconset/icon\_16x16@2x.png sips -z 32 32 Icon1024.png --out Icon-osx.iconset/icon\_32x32.png sips -z 64 64 Icon1024.png --out Icon-osx.iconset/icon\_32x32@2x.png sips -z 128 128 Icon1024.png --out Icon-osx.iconset/icon\_128x128.png sips -z 256 256 Icon1024.png --out Icon-osx.iconset/icon\_128x128@2x.png sips -z 256 256 Icon1024.png --out Icon-osx.iconset/icon\_256x256.png sips -z 512 512 Icon1024.png --out Icon-osx.iconset/icon\_256x256@2x.png sips -z 512 512 Icon1024.png --out Icon-osx.iconset/icon\_512x512.png cp Icon1024.png Icon-osx.iconset/icon\_512x512@2x.png iconutil -c icns Icon-osx.iconset rm -R Icon-osx.iconset
Please read our OS-X guide at:
https://docs.coronalabs.com/daily/guide/distribution/osxBuild/index.html
In particular, the Icons section…
If it helps, we use an app called Icon Slate to create the OSX and Windows icons.
Tnx.
But it cost money and for mac only. I`m on win, and trying to use this one: [deleted]
UPDATE: dont use that bad website - they are not adding 512 icons to pack.
Ah right yea, the Mac only thing is an issue. Luckily the majority of our dev is done on Mac so we can get away with that.
I downloaded and used the free app “Icns Builder.app” from the app store to make my “Icon-osx.icns” file. I have uploaded the app to the store but the icon is not showing up on the app page so should it? Also what other icon apps have people used that worked and show the icon in the dev portal?
How was you able to upload to MacStore? Did you sign your app on your own, or corona fixed creating install packages already?
When I tried to use the site https://iconverticons.com/online/ the app was rejected during upload because it did not have the correct .icns file.
I created and signed the PKG using Corona Daily build 2697 and then uploaded manually via “Application Uploader”.
I went ahead and submitted it for review and now after about an hour the icon is showing in the iTunes Dev Portal.
SIDE NOTE:
If you don’t want to use an application to make the .icns file then you can use the command line.
The following URL is where I found this info:
http://stackoverflow.com/a/20703594
Here’s a script to convert a 1024x1024 png (named “Icon1024.png”) to the required icns file. Save it to a filed called “CreateICNS.src” in the folder where your png file is then in terminal “cd” to the same folder and type “source CreateICNS.src” to call it:
mkdir Icon-osx.iconset sips -z 16 16 Icon1024.png --out Icon-osx.iconset/icon\_16x16.png sips -z 32 32 Icon1024.png --out Icon-osx.iconset/icon\_16x16@2x.png sips -z 32 32 Icon1024.png --out Icon-osx.iconset/icon\_32x32.png sips -z 64 64 Icon1024.png --out Icon-osx.iconset/icon\_32x32@2x.png sips -z 128 128 Icon1024.png --out Icon-osx.iconset/icon\_128x128.png sips -z 256 256 Icon1024.png --out Icon-osx.iconset/icon\_128x128@2x.png sips -z 256 256 Icon1024.png --out Icon-osx.iconset/icon\_256x256.png sips -z 512 512 Icon1024.png --out Icon-osx.iconset/icon\_256x256@2x.png sips -z 512 512 Icon1024.png --out Icon-osx.iconset/icon\_512x512.png cp Icon1024.png Icon-osx.iconset/icon\_512x512@2x.png iconutil -c icns Icon-osx.iconset rm -R Icon-osx.iconset
Mike, very helpful. Just a note to fellow developers that you may want to more thoughtfully design small, medium and large size app icons because scaling what you may design for a 1024x1024 icon down to 16x16 might be pretty useless looking. For our apps, we use one design for small icons (up to 64x64), a variation for medium icons (>64 up to 256) and a variation for large icons (>256).
Mike, very helpful. Just a note to fellow developers that you may want to more thoughtfully design small, medium and large size app icons because scaling what you may design for a 1024x1024 icon down to 16x16 might be pretty useless looking. For our apps, we use one design for small icons (up to 64x64), a variation for medium icons (>64 up to 256) and a variation for large icons (>256).