============================================================
博文原创,转载请声明出处
电子咖啡(原id蓝岩)
============================================================
我使用这种方法解决的,大家可以参考
I had the exact same problem. I spent 2 days. When you build and archive, click show in finder, show the contents of the package of the archive and check if all the files are showing up. For me, the archive was missing Icon.png file for some reason. The archive utility has a bug. I moved the icons out of the resource folder, cleaned and built the project. Then again I moved the icons into the resource folder and cleaned and built it. Then the archive had copied the missing icon files. So try this out!!