med*_*edo 6 xamarin xamarin.forms
我成功地将我的应用程序上传到xamarin表单上,但在上传之后我收到了来自apple的电子邮件:
"缺少必需的图标文件.该软件包不包含完全'167x167'像素的iPad应用程序图标,格式为.png."
所以它想在我的资源文件中想要一个图像(不是在info.plist图标中,因为它们不要求167x那里)但是我应该命名它:Icon-83.5@2x.png或Icon-174.png?
Pil*_*tus 10
在过去的几天里,我遇到了这个问题.
iPad图标没有显示在内部,Info.plist并且一直在发出警告.
我的修复是手动将图标添加Icon-83.5@2x.png到资源文件夹(如Prashant指出)并将其添加到Info.plist:
<key>CFBundleIconFiles</key>
<array>
<string>Icon-40.png</string>
<string>Icon-40@2x.png</string>
<string>Icon-40@3x.png</string>
<string>Icon-60@2x.png</string>
<string>Icon-60@3x.png</string>
<string>Icon-76.png</string>
<string>Icon-76@2x.png</string>
<string>Icon-83.5@2x.png</string>
<string>Icon-Small-40.png</string>
<string>Icon-Small-40@2x.png</string>
<string>Icon-Small.png</string>
<string>Icon-Small@2x.png</string>
<string>Icon-Small@3x.png</string>
</array>
Run Code Online (Sandbox Code Playgroud)
我曾经合作过,Asset Catalog但我无法使用iPad Pro图标.
您收到此错误是因为您已选中该iPad选项。就我而言,我一直在 Xcode 13.x 上开发我的应用程序,然后在新版本的 Xcode 14.x 之后出现此错误。
所以在Xcode 14上不需要创建各个版本的应用程序图标并将其放入其中Images.xcassets,只需按照以下步骤操作即可:
现在,清理您的上一个构建并再次构建您的应用程序。
但如果你仍然想使用以前的版本,你可以点击AppIcon,然后选择它后,打开 Xcode 的右侧面板:
然后通过选择All sizes您将能够看到以前的版本集。
| 归档时间: |
|
| 查看次数: |
5524 次 |
| 最近记录: |