Unable to generate ICNS file for push notification package [solved]

If you are struggling with the error above, but all your icons of the push package are of the correct size, you have probably set the wrong DPI.

Make sure that you use the following sizes and DPI:

  • 128×128@2x, 256x256px, 72DPI
  • 128×128, 128x128px, 72DPI
  • 32×32@2x, 64x64px, 72DPI
  • 32×32, 32x32px, 72DPI
  • 16×16@2x, 32x32px, 72DPI
  • 16×16, 16x16px, 72DPI

In order to change the DPI you can use ImageMagick for example:

$ convert -units PixelsPerInch src -density 72 dst

Leave a Reply

Your email address will not be published. Required fields are marked *