Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个带有图标集扩展名的目录,并将一些 png 文件放在那里。输入以下命令后,我无法生成图标文件。
$ mkdir myicon.iconset $ iconutil -c icns myicon.iconset $ Failed to generate ICNS.
myicon.iconset 里面的文件需要有一个特定的命名结构,例如:
icon.iconset/icon_128x128.png icon.iconset/icon_128x128@2x.png icon.iconset/icon_256x256.png icon.iconset/icon_256x256@2x.png