xcode – Xamarin更新后缺少Info.plist值(CFBundleIconName).我该如何解决?

xcode – Xamarin更新后缺少Info.plist值(CFBundleIconName).我该如何解决?,第1张

概述在我的Mac上更新我的Xamarin,xCode并尝试上传到App Store之后,我收到了来自Apple的这种电子邮件: 缺少Info.plist值 – 捆绑包’com.xxxx.yyyy’中缺少Info.plist键’CFBundleIconName’的值.使用iOS 11或更高版本SDK构建的应用必须在资产目录中提供应用图标,并且还必须为此Info.plist密钥提供值.有关详细信息,请参阅 在我的Mac上更新我的Xamarin,xCode并尝试上传到App Store之后,我收到了来自Apple的这种电子邮件:

缺少Info.pList值 – 捆绑包’com.xxxx.yyyy’中缺少Info.pList键’CFBundleIconname’的值.使用iOS 11或更高版本SDK构建的应用必须在资产目录中提供应用图标,并且还必须为此Info.pList密钥提供值.有关详细信息,请参阅http://help.apple.com/xcode/mac/current/#/dev10510b1f7.更正这些问题后,您可以重新更新已更正的二进制文件.

据我所知,我需要将我的图标转换为资产目录,但我不知道如何在Visual Studio 2015(windows)中执行此 *** 作?
这是我的info.pList的一部分:

<key>CFBundledisplayname</key><string>name - Online</string><key>CFBundleIDentifIEr</key><string>com.xxxxx.xxxxxx</string><key>CFBundLeversion</key><string>3.4</string><key>CFBundleIconfiles</key><array>    <string>Icon-72@2x.png</string>    <string>Icon-72.png</string>    <string>Icon@2x.png</string>    <string>Icon.png</string>    <string>Icon-60@2x.png</string>    <string>Icon-76.png</string>    <string>Icon-76@2x.png</string>    <string>Default.png</string>    <string>Default@2x.png</string>    <string>Default-568h@2x.png</string>    <string>Default-Landscape.png</string>    <string>Default-Landscape@2x.png</string>    <string>Default-Portrait.png</string>    <string>Default-Portrait@2x.png</string>    <string>Icon-Small-50@2x.png</string>    <string>Icon-Small-50.png</string>    <string>Icon-Small-40.png</string>    <string>Icon-Small-40@2x.png</string>    <string>Icon-Small.png</string></array><key>CFBundleShortVersionString</key><string>4.4</string>
解决方法 我有完全相同的问题.基本上这有助于我解决问题: https://github.com/MobiVM/robovm/issues/210

>右键单击info.pList,选择“打开方式…”并选择“iOS Manifest Editor”.
>转到“可视资产”选项卡,然后选择“使用资产目录”
>保存后,转到解决方案资源管理器中的项目,您应该看到资产目录文件夹.打开它,然后双击Media.
>转到AppIcons并为您正在构建的平台提供所有必要的图标.确保您还包含1024×1024像素的App Store图标.如果您遗漏任何所需内容,则会在将.ipa文件上传到iTunes Connect时收到提醒.
>再次编辑info.pList,但现在在XML编辑器中打开它.添加以下内容:

<密钥GT; CFBundleIconname< /密钥GT;

<串GT; AppIcons< /串GT;
>注释掉CFBundleIconfiles数组.在我的情况下它是:

<! – 密钥GT; CFBundleIconfiles< /密钥GT;
<阵列>
<串GT; Icon@2x.png\u0026lt; /串GT;
<串GT;&的icon.png LT; /串GT;
<串GT; Icon-60@2x.png\u0026lt; /串GT;
<串GT; Icon-Small@2x.png\u0026lt; /串GT;
<串GT;图标-Small.png< /串GT;
<串GT; Icon-Small-40@2x.png\u0026lt; /串GT;
< /阵列 – >

之后,您应该能够上传到Apple商店.

总结

以上是内存溢出为你收集整理的xcode – Xamarin更新后缺少Info.plist值(CFBundleIconName).我该如何解决?全部内容,希望文章能够帮你解决xcode – Xamarin更新后缺少Info.plist值(CFBundleIconName).我该如何解决?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1103183.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存