上架App Store构建版本不显示
错误如下:
We have discovered one or more issues with your recent delivery for "xxxxx". 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 'xx.xx.xx'. 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.
解决方法:
1.根据项目权限需求,复制 以下 相应 Value 和 Key 到 plist文件中
访问蓝牙:NSBluetoothPeripheralUsageDescription
访问相机:NSCameraUsageDescription
使用期间访问位置:NSLocationWhenInUseUsageDescription
访问麦克风:NSMicrophoneUsageDescription
访问相册:NSPhotoLibraryUsageDescription
始终访问位置:NSLocationAlwaysUsageDescription
访问通信录:NSContactsUsageDescription
2.需要在Info.plist文件中,添加一个该字段,添加完成后,默认显示的名字是Icon Name,该字段是一个String的字段,value值为空。如下图所示:
3.将相应的图标规格 填入