Add Missing .icns File For Mac

Add Missing .icns File For Mac Rating: 5,0/5 8164 reviews

Mac App Store ICNS Error 09 February 2018 on, I recently ran into an error similar to the following error when trying to publish a macOS application through Application Loader. ERROR ITMS-90236: 'Missing required icons. The application bundle does not contain an icon in ICNS format, containing both a 512x512 and a image. For further assistance, see the Apple Human Interface Guidelines.' What was strange is I had a ICNS file in my bundle and everything looked to be working correctly. Sadly I was trying to package the application for deployment in the command line, so it was much more difficult to debug than the graphical interface that Xcode provides. I was able to fix it by creating a folder called MyIcon.iconset with 10 files in it.

Missing desktop icons is one of them. While in some of the cases missing desktop icons may be caused by virus infection, in most of the cases it happens due to incorrect settings, accidentally hidden, or the wrong mode.

You can see the files inside the folder below. For each file the image size was the same pixel dimensions as described in the file name. For example icon256x256.png was 256 pixels by 256 pixels. When the file name was marked with @2x the pixel dimensions would double.

Add Missing .icns File For Mac

Change File Icon Mac

So would be 512 pixels by 512 pixels. I was able to resize my images super quickly using my new macOS application, which you can download from the Mac App Store to resize your images in a breeze. After ensuring that folder is setup correctly, I navigated to the folder that contained the folder I just created in Terminal and ran the following command.

Iconutil -convert icns MyIcon.iconset This generated a.icns file that I was able to add to my bundle. Sure enough, after ensuring those files were all correct in that folder and generating the icns file Application Loader accepted my bundle and I was able to submit for review to Apple. Read by this author.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed.

Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion.

Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.