xcode9打包上传iTunesConnect失败

苹果邮件内容如下:

Dear developer,
We have discovered one or more issues with your recent delivery for "". To process your delivery, the following issues must be corrected:
Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle ''. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team

Xcode 8及之前的版本是可以直接在iTunes Connect上添加App icon。而Xcode 9则是把App icon放置在项目的asset catalog。
在Info.plist 添加key CFBundleIconName:
<key>CFBundleIconName</key><string>AppIcon</string>

在项目的asset catalog添加图标:

1507016672011_zBjEW.png

需要添加以下尺寸的图标:
20pt 1x, 2x, 3x
29pt 1x, 2x, 3x
40pt 1x, 2x, 3x
60pt 1x, 2x, 3x
76pt 1x, 2x
85.5pt 2x
1024pt 1x

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容