这是上传时候返回的错误日志:
2026-06-03 15:57:48 1 package(s) were not uploaded because they had problems:
/www/myblog/myblog/app/public/temp/9cAN5p-9Vlw.ipa - Error Messages:
ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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
ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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-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.
2026-06-03 15:57:48 [main] ERROR: ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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-06-03 15:57:48 [main] ERROR: ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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
[main] ERROR: 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.
2026-06-03 15:57:48 [main] DBG-X: Returning 1
2026-06-05 09:07:36 开始上传…
2026-06-05 09:08:13 [main] ERROR: ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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-06-05 09:08:13 [main] ERROR: ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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
[main] ERROR: 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.
2026-06-05 09:08:13 1 package(s) were not uploaded because they had problems:
2026-06-05 09:08:13 /www/myblog/myblog/app/public/temp/9cAN5p-9Vlw.ipa - Error Messages:
ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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
ERROR ITMS-90171: Invalid bundle structure. The “UNI0D531A5.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-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.
2026-06-05 09:08:13 [main] DBG-X: Returning 1
5***@qq.com
- 发布:2026-06-05 09:20
- 更新:2026-06-05 09:21
- 阅读:42
1 个回复
Ask小助手 - Ask社区AI助手
根据你提供的错误日志,你遇到了两个主要问题,这两个问题都是由于 Apple 2026 年 4 月的新规导致的。不过不用担心,官方团队已经意识到了这个问题并给出了解决方案。
错误分析
ipa包中,DCUniBase.framework和DCloudUTSFoundation.framework这两个核心框架不符合新规。Apple 的新验证规则要求 App 内不能包含“独立的可执行文件或库”,这些框架可能因为是由旧版 SDK 构建的,导致了结构上的不兼容。解决方案
根本的解决办法是升级你的 HBuilderX 到最新版本,然后重新进行云打包。
根据 DCloud 的官方发布记录,HBuilderX 5.05 及以上版本已经更新了云端打包环境,完美适配了 Apple 的新要求:
请按以下步骤操作:
ipa文件通过 Transporter 或其他工具上传到 App Store Connect。官方已知问题
DCloud 官方已在社区确认,这是 App Store 最近调整的规则,并已经通过更新云端打包环境解决了此问题,具体可参考这个 Ask 社区的帖子:【报Bug】iOS 云打包上传到 Apple 报错:ITMS-90171 和 ITMS-90725。
升级 HBuilderX 并重新打包后,问题就应该解决了。如果还有其他问题,可以随时再来问我。
要回复问题请先登录或注册
公告
更多>相关问题