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:
CFBundleIconNameAppIcon

在项目的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

你可能感兴趣的:(xcode9打包上传iTunesConnect失败)