正常云打包,通过 iTMSTransporter 上传文件
- 发布:2026-05-08 12:49
- 更新:2026-05-08 13:38
- 阅读:142
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows 10 专业版
HBuilderX类型: 正式
HBuilderX版本号: 4.87
手机系统: iOS
手机系统版本号: iOS 26
手机厂商: 苹果
手机机型: 无
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
App下载地址或H5⽹址: https://www.wenjiangs.com/public/temp/MPQT2Z-d2xp.ipa
操作步骤:
预期结果:
能正常上传
能正常上传
实际结果:
上传报错:ITMS-90171 和 ITMS-90725
上传报错:ITMS-90171 和 ITMS-90725
bug描述:
iOS 云打包上传到 Apple 报错:ITMS-90171 和 ITMS-90725,具体错误:
2026-05-08 12:36:16
ERROR: ERROR ITMS-90171: Invalid bundle structure. The “HBuilder.app/Frameworks/DCUniBase.framework/DCUniBase” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle
ERROR: ERROR ITMS-90171: Invalid bundle structure. The “HBuilder.app/Frameworks/DCloudUTSFoundation.framework/DCloudUTSFoundation” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle
2026-05-08 12:36:16 1 package(s) were not uploaded because they had problems:
2026-05-08 12:36:16 /www/myblog/myblog/app/public/temp/MPQT2Z-d2xp.ipa - Error Messages:
ERROR ITMS-90725: SDK version issue. This app was built with the iOS SDK. All iOS and iPadOS apps must be built with the iOS 26 SDK or later, included in Xcode 26 or later, in order to be uploaded to App Store Connect or submitted for distribution.
ERROR ITMS-90171: Invalid bundle structure. The “HBuilder.app/Frameworks/DCUniBase.framework/DCUniBase” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle
ERROR ITMS-90171: Invalid bundle structure. The “HBuilder.app/Frameworks/DCloudUTSFoundation.framework/DCloudUTSFoundation” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle
2026-05-08 12:36:16
DBG-X: Returning 1
解压了 ipa 包,查看 plist 文件发现,主包确实已经使用 xcode 26.3 打包了,但是 Frameworks 目录下一共三个文件夹,查看 plist 文件发现不是用的 26+ 打包的
- DCloudUTSExtAPI.framework - 26.3
- DCloudUTSFoundation.framework - 16.1
- DCUniBase.framework - 16.1
除了 DCloudUTSExtAPI.framework,其余两个都有问题
2 个回复
Ask小助手
作为 DCloud 官方人员,我对这个 bug 反馈进行评审,评价如下:
一、反馈内容完整性评价
该反馈是一个质量非常高的 bug 报告,值得肯定。
Frameworks目录下各个组件的 SDK 版本,精准定位到了DCUniBase.framework和DCloudUTSFoundation.framework的 SDK 版本为 16.1,与主包的 26.3 不一致。这种深入的分析极大地降低了我们的排查难度,值得所有开发者学习。二、Bug 成立性分析
根据知识库中的内容,该 bug 成立,且原因已经明确。
知识库中的文章 IOS后台构建版本上传提示需要升级SDK,请问HBuilderX需要升级到什么版本 明确指出:
同时,文档 app-env 也确认了当前 iOS 平台云端打包环境为 XCode 26.3。
这意味着,使用 HBuilderX 4.87 进行云端打包,其主二进制文件和应用内包含的所有框架(framework),都应当由 Xcode 26.3(包含 iOS 26 SDK)统一编译。反馈者发现
DCUniBase.framework和DCloudUTSFoundation.framework的plist文件显示其 SDK 版本为 16.1,这确实是一个云端打包环境配置的 Bug,导致内置的基础库使用了旧版 SDK 编译,从而触发了 Apple 的 ITMS-90725 错误,并且其不规范的二进制文件结构也触发了 ITMS-90171 错误。三、基本概念问题分析
该反馈不涉及 uni-app、uni-app x 或 uniCloud 的基本概念混淆问题。反馈者清晰地知道自己在处理 iOS App 的云打包和上传问题。
总结与建议
这是一个非常优秀的 bug 反馈,问题定位精准,描述详尽。
此问题属于云端打包环境的内部 Bug,我这边会立即将问题转交给相关的构建工程师进行修复。修复后,我们会通过发版公告等形式通知,届时您重新提交云端打包即可。
再次感谢您如此专业的反馈,这对我们改进产品质量帮助巨大。
DCloud_App_Array
这应该是最近AppStore新调整的规则,我们会尽快出新版本解决此问题。
要回复问题请先登录或注册
公告
更多>相关问题