在用 Application Loader上传spa 文件的时候出现这样的错误:ERROR ITMS-90032: "Invalid image path
No image found at the path referenced under CFBundleIconFile: 'icon.png'
就用以下的方法解决:





以上如果看不懂,现文字描述一种方式:将现有的 .xcassets 文件全部删除,新建一个导入所需的 AppIcon,注意查看是供 iPhone使用还是 iPad 亦或者是 Apple WatchWatch,然后在工程中的General ->App Icons and Launch Images 中添加成新的.xcassets 文件。同时最最重要的就是一定要查看你的图标规格是否正确。比如我的提示错误是40*40@2x 出错,以上这些我全都修改过,但还是提示错误,后来发现我的这张 Icon 的大小是80*81,差点吐血身亡,凡事还不能全信任美工啊。所以建议大家使用 AppIconTool 这个软件自行切图使用。