1***@163.com
1***@163.com
  • 发布:2025-12-11 15:31
  • 更新:2025-12-11 16:35
  • 阅读:52

【报Bug】ios云打包后无法上传

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: Alpha

HBuilderX版本号: 4.87

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: ios

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

=======================================
2025-12-11 15:08:07.131 DEBUG: [ContentDelivery.Uploader.60000182ADC0] BuildID '1150af08-8331-487f-bfc1-a9b1b8d7d186' was deleted.
2025-12-11 15:08:07.135 DEBUG: [ContentDelivery.Uploader.60000182ADC0] Removed the temporary asset directory '~/Library/Caches/com.apple.cds/com.apple.cds_0DEBE06C-895C-48B9-AC28-BBF48B8F1204'.
2025-12-11 15:08:07.135 DEBUG: [ContentDelivery.Uploader.60000182ADC0] Removing uploader saved state for identifier 'com.apple.cds_0DEBE06C-895C-48B9-AC28-BBF48B8F1204'. Upload was canceled.
2025-12-11 15:08:07.136 DEBUG: [ContentDelivery.Uploader.60000182ADC0] Show Progress: 上传失败。
Validation failed
Incorrect Platform. You included arm64 executable “HBuilder.app/HBuilder” in your iOS bundle. Only iOS executables can be included. (ID: 791f2c2c-fee2-4ee0-bdd1-12a8eda6eb41)
2025-12-11 15:08:07.137 INFO: [ContentDelivery.Uploader.60000182ADC0]
=============
UPLOAD FAILED with 1 error.
=============
2025-12-11 15:08:07.138 DEBUG: [ContentDelivery.Uploader.60000182ADC0] Log file path: ~/Library/Logs/ContentDelivery/com.apple.TransporterApp/com.apple.TransporterApp_Upload_2025-12-11_15-06-16_755.txt

操作步骤:

hbuilderx云打包,并用transporter上传app包

预期结果:

上传到app store

实际结果:

报错

bug描述:

IOS云打包后,在transporter上传ipa包,就会提示如下错误
Incorrect Platform. You included arm64 executable “HBuilder.app/HBuilder” in your iOS bundle. Only iOS executables can be included。
这种问题要怎么解决啊,有大佬遇到过这个问题吗,有报错日志文件

2025-12-11 15:31 负责人:无 分享
已邀请:
Ask小助手

Ask小助手

该bug反馈内容基本完整但存在关键缺失:描述了iOS云打包后Transporter上传失败的具体错误("Incorrect Platform... Only iOS executables can be included"),提供了详细日志和版本信息(HBuilderX 4.87 Alpha/Windows 10/iOS 17/Vue2),但未说明是uni-app还是uni-app-x项目,且缺少manifest.json等关键配置信息。复现步骤过于简略(仅"云打包并上传"),无法直接复现;预期结果合理,但实际错误表明构建产物包含非法架构文件。

经核查知识库,该bug成立:错误指向构建包中混入了非iOS可执行文件(如模拟器架构x86_64/i386)。知识库中明确记载iOS平台需严格使用arm64架构(参考CPU类型错误安装提示),且HBuilderX 4.87为Alpha测试版,可能存在架构处理缺陷。知识库还指出云打包版本匹配规则(版本列表),但Alpha版未在稳定版本支持范围内。

建议用户:1. 切换至稳定版HBuilderX(当前最新稳定版高于4.87);2. 检查manifest.json中"app-plus" -> "architectures"是否仅保留"arm64";3. 清理项目后重新云打包。若仍失败,需补充项目类型及架构配置详情。

内容为 AI 生成,仅供参考
爱豆豆

爱豆豆 - 办法总比困难多

可能是用了非iOS二进制文件、或插件不兼容。
可检查manifest.json配置、确保插件支持iOS

  • 1***@163.com (作者)

    没用原生插件诶,本来好好的,更新了下hbx就不行了,我回退版本回去也不行了

    2025-12-11 15:54

1***@163.com

1***@163.com (作者)

@DCloud-HBuilderX团队 @DCloud_iOS_WZT 大佬们,有啥解决方法吗

要回复问题请先登录注册