问题描述
我很难使用iOS 11 SDK构建的Xcode 9发布我们的应用程序的新版本。存档和上传二进制文件顺利进行,没有任何问题。构建在活动下的iTunes Connect中显示为正在处理,它将消失,我收到以下电子邮件。
The link gives some info about asset bundles. I tried setting a CFBundleIconName key to project name or an image file name and submitted the app again. However, I still get the same email as above.
Any suggestion of help would be highly appreciated.
I figured it out that since Xcode 9 iOS 11 builds require iTunes Connect App Icon to be bundled with the binary itself which could have been added to iTunes Connect directly in the earlier versions of Xcode (XCode 8.3.3 ane earlier).
The required App Store icon should be placed in an asset catalog located in the app bundle.
So, the CFBundleIconName should be now set to AppIcon (default value) or any value you set.
Adding only that image will not pass the iTunes Archive upload process so we need to add all the App Icons images of the following sizes:
- 20pt 1x, 2x, 3x
- 29pt 1x, 2x, 3x
- 40pt 1x, 2x, 3x
- 60pt 1x, 2x, 3x
- 76pt 1x, 2x
- 85.5pt 2x
- 1024pt 1x
So, now it is time to use asset catalog to specify app icons.
这篇关于在Xcode9 iOS11应用程序版本中缺少CFBundleIconName的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!