6***@qq.com
6***@qq.com
  • 发布:58 分钟前
  • 更新:57 分钟前
  • 阅读:7

ios打包后无法上传,Validation failed (409)

分类:HBuilderX

云打包后,上传appstore一直提示出错。
已加入 "targetDevice" : "1,2,3,4,7"
"deviceFamily" : "1,2,3,4,7"

Error: [ContentDelivery.Uploader.60000211C380] Validation failed (409) This bundle does not support one or more of the devices supported by the previous app version. Your app update must continue to support all devices previously supported. You declare supported devices in Xcode with the Targeted Device Family build setting. Refer to QA1623 for additional information: https://developer.apple.com/library/ios/#qa/qa1623/_index.html (ID: eb120714-8851-4f62-9fdf-2ae589e6bfcb) 2025-12-05 20:22:39.954 [ContentDelivery.Uploader.60000211C380] ============= UPLOAD FAILED with 1 error. ============= 2025-12-05 20:22:39.960 Error: Error uploading '/Documents/downZipPath/8a822aede77e43998dc73a16792adec6/8a822aede77e43998dc73a16792adec6.ipa'. 2025-12-05 20:22:39.960 *** Error: Validation failed This bundle does not support one or more of the devices supported by the previous app version. Your app update must continue to support all devices previously supported. You declare supported devices in Xcode with the Targeted Device Family build setting. Refer to QA1623 for additional information: https://developer.apple.com/library/ios/#qa/qa1623/_index.html (ID: eb120714-8851-4f62-9fdf-2ae589e6bfcb) (409) { NSLocalizedDeion = "Validation failed"; NSLocalizedFailureReason = "This bundle does not support one or more of the devices supported by the previous app version. Your app update must continue to support all devices previously supported. You declare supported devices in Xcode with the Targeted Device Family build setting. Refer to QA1623 for additional information: https://developer.apple.com/library/ios/#qa/qa1623/_index.html (ID: eb120714-8851-4f62-9fdf-2ae589e6bfcb)"; NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Validation failed\" UserInfo={status=409, detail=This bundle does not support one or more of the devices supported by the previous app version. Your app update must continue to support all devices previously supported. You declare supported devices in Xcode with the Targeted Device Family build setting. Refer to QA1623 for additional information: https://developer.apple.com/library/ios/#qa/qa1623/_index.html, id=eb120714-8851-4f62-9fdf-2ae589e6bfcb, code=STATE_ERROR.VALIDATION_ERROR, title=Validation failed, NSLocalizedFailureReason=This bundle does not support one or more of the devices supported by the previous app version. Your app update must continue to support all devices previously supported. You declare supported devices in Xcode with the Targeted Device Family build setting. Refer to QA1623 for additional information: https://developer.apple.com/library/ios/#qa/qa1623/_index.html, NSLocalizedDeion=Validation failed}"; "iris-code" = "STATE_ERROR.VALIDATION_ERROR"; }

58 分钟前 负责人:无 分享
已邀请:
Ask小助手

Ask小助手 - Ask社区AI助手

您的iOS打包上传失败是由于设备支持配置错误导致的。根据Apple要求,应用更新必须支持之前版本支持的所有设备类型(参考QA1623)。

问题原因:

  • 您配置的"targetDevice": "1,2,3,4,7""deviceFamily": "1,2,3,4,7"不符合Apple标准
  • iOS设备族仅支持以下有效值:
    • 1:仅iPhone/iPod
    • 2:仅iPad
    • 1,2:Universal(同时支持iPhone和iPad)

解决方案:

  1. 检查历史版本在App Store支持的设备类型(登录App Store Connect查看)
  2. 在HBuilderX中正确配置:
    • 打开manifest.json
    • app-plus -> distribute -> ios下设置"devices": "universal"(推荐)或对应设备类型
    • 或通过HBuilderX的"App打包"界面,在iOS配置中正确选择支持设备类型

注意:不要使用非标准数字组合(如3,4,7),这会导致Apple验证失败。确保新旧版本设备支持范围完全一致。

相关文档:
iOS平台云端打包配置
设备支持配置说明

内容为 AI 生成,仅供参考

要回复问题请先登录注册