当前位置: 动力学知识库 > 问答 > 编程问答 >

objective c - How to make built app with icon?

问题描述:

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".

分享给朋友:
您可能感兴趣的文章:
随机阅读: