You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

.NET MAUI iOS打包:App Store Connect提示缺少1024x1024图标求助

.NET MAUI iOS发布:App Store Connect提示缺少1024x1024图标问题

我在macOS上使用JetBrains Rider + Xcode 16.3发布基于.NET MAUI(net8.0-ios)开发的新应用时,App Store Connect验证阶段持续报错:

App verification failed. A 1024x1024 app icon must be added to the resource catalog in Xcode.

技术背景

  • IDE:JetBrains Rider + Xcode 16.3
  • 框架:.NET MAUI(net8.0-ios)
  • 发布命令:
dotnet publish -f net8.0-ios -c Release -p:RuntimeIdentifier=ios-arm64 -p:BuildIpa=true
  • 图标集:AppIconew.appiconset,其Contents.json包含以下配置:
{
  "filename" : "appstore.png",
  "idiom" : "ios-marketing",
  "scale" : "1x",
  "size" : "1024x1024"
}
  • Info.plist配置:
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIconew.appiconset</string>

已排查验证的操作

  • 确认appstore.png为1024x1024像素的PNG格式图片,色彩配置为sRGB IEC61966-2.1
  • 图片与Contents.json在同一目录下
  • 资源目录已正确纳入项目
  • 检查IPA包,发现生成了Assets.car文件,但其中未包含ios-marketing条目
  • 尝试将图标集重命名为AppIcon.appiconset并同步更新Info.plist
  • 执行dotnet clean,删除bin/和obj/目录后重新构建IPA
  • 验证图片元数据和文件名均无误

但App Store Connect仍持续拒绝构建,报错内容不变。

疑问

  1. 有没有人在使用Rider或跨平台环境构建.NET MAUI应用时遇到过此类问题?
  2. 为何配置正确的情况下,ios-marketing图标未被纳入Assets.car或未被App Store Connect识别?

我可提供完整的Contents.json、Info.plist或截图。

内容的提问来源于stack exchange,提问作者Vice95

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 17:22:45