1.brew install makeicns 2.makeicns -in input.jpg -output out.icns 附上大神写的一个小程序产出1024x1024 png2icns.zip