uni-app 项目打包时误选ipad选项导致审核报错,取消后重新打包上传应用商店仍报错

发布于 1周前 作者 wuwangju 来自 Uni-App

uni-app 项目打包时误选ipad选项导致审核报错,取消后重新打包上传应用商店仍报错

产品分类:

uniapp/App

PC开发环境操作系统:

Windows

PC开发环境操作系统版本号:

win11

HBuilderX类型:

正式

HBuilderX版本号:

4.29

手机系统:

iOS

手机系统版本号:

iOS 18

手机厂商:

苹果

手机机型:

ipad

页面类型:

vue

vue版本:

vue2

打包方式:

云端

项目创建方式:

HBuilderX


示例代码:

Error: [ContentDelivery.Uploader.600003DA4000] Asset validation failed (90101) 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) 2024-11-19 10:44:58.072 [ContentDelivery.Uploader.600003DA4000] ============= UPLOAD FAILED with 1 error. ============= 2024-11-19 10:44:58.076 
Error: Error uploading '/Documents/downZipPath/0ae2535da0164b6eb52134a0770441cb/0ae2535da0164b6eb52134a0770441cb.ipa'. 2024-11-19 10:44:58.076 *** Error: Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) (90101) { NSLocalizedDeion = "Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)"; NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 "Asset 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=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7, code=STATE_ERROR.VALIDATION_ERROR.90101, title=Asset 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=Asset validation failed}"; "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90101"; }

翻译如下:

错误:[CntentDelivery.Uplooader.600003DA4000]资产验证失败(90101)此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)2024-11-19 10:44:58.072[内容交付。上传者。600003DA4000]2024-11-19 10:44:58.076错误:上传“/文档/downZipPath/0ae2535da 0164b6eb52134a0770441cb.ipa”时出错。2024-11-19 10:44:58.076错误:资产验证失败此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)(90101){NSLocalizedDeion=“资产验证失败”;NSLocalizedFailureReason=“此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)“;NSUnderlyingError=”错误域=IrisAPI代码=-19241\“资产验证失败\”UserInfo={状态=409,详细信息=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,id=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7,代码=状态错误。VALIDAION_ERROR.90101,title=资产验证失败,NSLocalizedFailureReason=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,NSLocalizedDeion=资产验证失败}“;”虹膜代码“=”STATE_ERROR。VALIDATION_ERROR.90101“;}

有什么方法解决嘛,我想取消掉ipad

操作步骤:

Error: [ContentDelivery.Uploader.600003DA4000] Asset validation failed (90101) 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) 2024-11-19 10:44:58.072 [ContentDelivery.Uploader.600003DA4000] ============= UPLOAD FAILED with 1 error. ============= 2024-11-19 10:44:58.076 
Error: Error uploading '/Documents/downZipPath/0ae2535da0164b6eb52134a0770441cb/0ae2535da0164b6eb52134a0770441cb.ipa'. 2024-11-19 10:44:58.076 *** Error: Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) (90101) { NSLocalizedDeion = "Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)"; NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 "Asset 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=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7, code=STATE_ERROR.VALIDATION_ERROR.90101, title=Asset 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=Asset validation failed}"; "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90101"; }

翻译如下:

错误:[CntentDelivery.Uplooader.600003DA4000]资产验证失败(90101)此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)2024-11-19 10:44:58.072[内容交付。上传者。600003DA4000]2024-11-19 10:44:58.076错误:上传“/文档/downZipPath/0ae2535da 0164b6eb52134a0770441cb.ipa”时出错。2024-11-19 10:44:58.076错误:资产验证失败此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)(90101){NSLocalizedDeion=“资产验证失败”;NSLocalizedFailureReason=“此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)“;NSUnderlyingError=”错误域=IrisAPI代码=-19241\“资产验证失败\”UserInfo={状态=409,详细信息=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,id=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7,代码=状态错误。VALIDAION_ERROR.90101,title=资产验证失败,NSLocalizedFailureReason=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,NSLocalizedDeion=资产验证失败}“;”虹膜代码“=”STATE_ERROR。VALIDATION_ERROR.90101“;}

有什么方法解决嘛,我想取消掉ipad

预期结果:

Error: [ContentDelivery.Uploader.600003DA4000] Asset validation failed (90101) 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) 2024-11-19 10:44:58.072 [ContentDelivery.Uploader.600003DA4000] ============= UPLOAD FAILED with 1 error. ============= 2024-11-19 10:44:58.076 
Error: Error uploading '/Documents/downZipPath/0ae2535da0164b6eb52134a0770441cb/0ae2535da0164b6eb52134a0770441cb.ipa'. 2024-11-19 10:44:58.076 *** Error: Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) (90101) { NSLocalizedDeion = "Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)"; NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 "Asset 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=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7, code=STATE_ERROR.VALIDATION_ERROR.90101, title=Asset 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=Asset validation failed}"; "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90101"; }

翻译如下:

错误:[CntentDelivery.Uplooader.600003DA4000]资产验证失败(90101)此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)2024-11-19 10:44:58.072[内容交付。上传者。600003DA4000]2024-11-19 10:44:58.076错误:上传“/文档/downZipPath/0ae2535da 0164b6eb52134a0770441cb.ipa”时出错。2024-11-19 10:44:58.076错误:资产验证失败此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)(90101){NSLocalizedDeion=“资产验证失败”;NSLocalizedFailureReason=“此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)“;NSUnderlyingError=”错误域=IrisAPI代码=-19241\“资产验证失败\”UserInfo={状态=409,详细信息=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,id=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7,代码=状态错误。VALIDAION_ERROR.90101,title=资产验证失败,NSLocalizedFailureReason=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,NSLocalizedDeion=资产验证失败}“;”虹膜代码“=”STATE_ERROR。VALIDATION_ERROR.90101“;}

有什么方法解决嘛,我想取消掉ipad

实际结果:

Error: [ContentDelivery.Uploader.600003DA4000] Asset validation failed (90101) 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) 2024-11-19 10:44:58.072 [ContentDelivery.Uploader.600003DA4000] ============= UPLOAD FAILED with 1 error. ============= 2024-11-19 10:44:58.076 
Error: Error uploading '/Documents/downZipPath/0ae2535da0164b6eb52134a0770441cb/0ae2535da0164b6eb52134a0770441cb.ipa'. 2024-11-19 10:44:58.076 *** Error: Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7) (90101) { NSLocalizedDeion = "Asset 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: 723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)"; NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 "Asset 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=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7, code=STATE_ERROR.VALIDATION_ERROR.90101, title=Asset 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=Asset validation failed}"; "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90101"; }

翻译如下:

错误:[CntentDelivery.Uplooader.600003DA4000]资产验证失败(90101)此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)2024-11-19 10:44:58.072[内容交付。上传者。600003DA4000]2024-11-19 10:44:58.076错误:上传“/文档/downZipPath/0ae2535da 0164b6eb52134a0770441cb.ipa”时出错。2024-11-19 10:44:58.076错误:资产验证失败此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)(90101){NSLocalizedDeion=“资产验证失败”;NSLocalizedFailureReason=“此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html(ID:723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7)“;NSUnderlyingError=”错误域=IrisAPI代码=-19241\“资产验证失败\”UserInfo={状态=409,详细信息=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以在Xcode中使用目标设备系列构建设置声明支持的设备。有关其他信息,请参阅QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,id=723dc5c8-c9fa-41a7-b8d5-d41b9e7437b7,代码=状态错误。VALIDAION_ERROR.90101,title=资产验证失败,NSLocalizedFailureReason=此捆绑包不支持以前应用程序版本支持的一个或多个设备。您的应用程序更新必须继续支持以前支持的所有设备。您可以使用Targeted Device Family构建设置在Xcode中声明支持的设备。更多信息请参考QA1623:https://developer.apple.com/library/ios/#qa/qa1623/_index.html,NSLocalizedDeion=资产验证失败}“;”虹膜代码“=”STATE_ERROR。VALIDATION_ERROR.90101“;}

有什么方法解决嘛,我想取消掉ipad


2 回复

只能重新创建一个APP


针对你提到的uni-app项目在打包时误选iPad选项导致审核报错的问题,以下是一些可能的解决方案及相关的代码示例,帮助你解决该问题。

问题分析

误选iPad选项可能导致生成的包不兼容或包含不必要的iPad资源,从而被App Store审核拒绝。即使取消该选项并重新打包,如果未彻底清理之前的配置和缓存,仍可能存在问题。

解决方案

  1. 清理项目配置

    确保manifest.json文件中关于iPad的配置被正确移除。

    {
      "mp-weixin": {},
      "app-plus": {
        "distribute": {
          "apple": {
            "iPad": false  // 确保此选项为false
          }
        }
      }
    }
    
  2. 清理缓存

    在重新打包前,确保清理项目的构建缓存。

    # 假设你使用的是HBuilderX
    # 清理项目
    HBuilderX -> 工具 -> 清理项目缓存
    
    # 或者在命令行中运行(如果你使用自定义脚本)
    rm -rf /path/to/your/uni-app/dist/*
    rm -rf /path/to/your/uni-app/.webpack/*
    
  3. 重新打包

    使用HBuilderX或命令行工具重新打包项目。

    # 使用HBuilderX进行打包
    HBuilderX -> 发行 -> 网站-H5/小程序/App打包上传 -> 原生App-云打包
    
    # 或者使用命令行(如果配置了相关脚本)
    npm run build:app
    
  4. 检查App Store Connect

    登录App Store Connect,检查应用的构建版本和元数据,确保没有iPad相关的设置或描述。

  5. 上传新版本

    确保上传的是最新的构建版本,并且已经通过验证。

    # 在HBuilderX中上传
    HBuilderX -> 发行 -> 网站-H5/小程序/App打包上传 -> 原生App-云打包 -> 上传
    
    # 或者使用命令行(如果配置了相关脚本)
    # 假设你已经配置好了uni-app的cli和相关的云打包插件
    uni-app-cli upload --platform app-plus --version 1.0.1
    
  6. 联系Apple支持

    如果问题依旧存在,建议联系Apple支持团队,提供详细的错误信息和构建日志,以便他们进一步协助解决。

通过上述步骤,你应该能够解决因误选iPad选项导致的审核报错问题。确保每一步都按照要求执行,特别是清理缓存和重新打包部分,这是避免旧配置影响新构建的关键步骤。

回到顶部