问题描述:

I'm writing an OSX App and added an icon for it.

After building in Xcode, I can see the app with icon under Products folder, but when I RightClick->'Show in Finder', the built file is shown without icon. I want the built file to have an icon.

网友答案:

For Mac OS applications, you need to create an .icns file and include it in your Info.plist just like any other project.

网友答案:

Just change icon.png to icon.icns

网友答案:

When I submit an icon image for my app, I never add the .icns extension. It is automatically assumed by the compiler. So for the icon file "icon.icns", simply enter "icon".

相关阅读:
Top