简体   繁体   English

缺少 Info.plist 值。 Info.plist 键 'CFBundleIconName' 的值

[英]Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName'

Missing Info.plist value.缺少 Info.plist 值。 A value for the Info.plist key 'CFBundleIconName' is missing in the bundle id.捆绑 ID 中缺少 Info.plist 键“CFBundleIconName”的值。 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.使用 iOS 11 或更高版本 SDK 构建的应用程序必须在资产目录中提供应用程序图标,并且还必须为此 Info.plist 键提供值。

i am working native iOS Application.我正在使用本机 iOS 应用程序。 I am already added following line in info.plist.But I don't know, What is reason for that.Please u give answer for my problem.我已经在 info.plist 中添加了以下行。但我不知道,这是什么原因。请您回答我的问题。 i am using xcode 12.5.1.我正在使用 xcode 12.5.1。 Latest version of xcode.最新版本的 xcode。

appicon Source应用程序源

Target Membership目标会员

<key>CFBundleIconName</key>
<string>AppIcon</string>

i am trying lot of day and nights, finally i got solution.我日以继夜地尝试了很多,最后我得到了解决方案。

Solutions : my project created by old xcode versions.解决方案:我的项目由旧的 xcode 版本创建。 its created before 4 years.它是在 4 年前创建的。 I am removing all images from asset catalog expect AppIcon and push to testflight its moving.我正在从资产目录中删除所有图像,除了 AppIcon 并推动测试其移动。 Then I create sample project with my project bundle id.然后我使用我的项目包 ID 创建示例项目。 only add images and appicon its moved to testflight above error is not came.只添加图像和appicon 其移动到testflight 上面的错误没有出现。

So i am created new project in latest version of xcode and move all files from old project.所以我在最新版本的 xcode 中创建了新项目,并从旧项目中移动了所有文件。 After moved to testflight.搬到试飞后。 its working.它的工作。

This is not standard solution.这不是标准解决方案。 but in my case 100% working.但在我的情况下 100% 工作。 I love apple errors.我喜欢苹果错误。 some time irritating but challenging one.一段时间令人恼火但具有挑战性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM