缺少 Info.plist 值 - Info.plist 键 'CFBundleIconName' 的值丢失
Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing
在将我的应用程序提交到 App Store 时,我收到了这封电子邮件:
TMS-90713: 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.
我已经尝试了这个 post 中的所有方法:
- 我有一个项目开始时的资产(它是一个模板)。
- 捆绑密钥在 info.plist。
- 键的值与目录的名称相同。
- 我在建筑设置中选择了资产。
- 我检查了目标成员资格。
我正在使用 XCode 13.1 和 MacBook Air M1 2020
如评论中matt所述:
In Xcode 13 this is configured with a build setting, not by editing the Info.plist file directly.
由于 post 中的说明,我在两个位置都设置了它:
我删除了 info.plist 键 'CFBundleIconName' 并只保留 Build Settings 我可以上传存档没有任何错误。
在将我的应用程序提交到 App Store 时,我收到了这封电子邮件:
TMS-90713: 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.
我已经尝试了这个 post 中的所有方法:
- 我有一个项目开始时的资产(它是一个模板)。
- 捆绑密钥在 info.plist。
- 键的值与目录的名称相同。
- 我在建筑设置中选择了资产。
- 我检查了目标成员资格。
我正在使用 XCode 13.1 和 MacBook Air M1 2020
如评论中matt所述:
In Xcode 13 this is configured with a build setting, not by editing the Info.plist file directly.
由于 post 中的说明,我在两个位置都设置了它:
我删除了 info.plist 键 'CFBundleIconName' 并只保留 Build Settings 我可以上传存档没有任何错误。