提交IOS云打包时常报错,需要重新提交多次云打包才能打包成功
- 发布:55 分钟前
- 更新:34 分钟前
- 阅读:20
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 26.3 (25D125)
HBuilderX类型: 正式
HBuilderX版本号: 5.08
手机系统: iOS
手机系统版本号: iOS 26
手机厂商: 苹果
手机机型: Iphone 16
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
打包成功
打包成功
实际结果:
[HBuilder] 17:17:34.792 项目 MarooChatApp [UNIBB5E4A1]的打包状态:
[HBuilder] 17:17:34.792 时间: 2026-05-15 17:15:29 类型: iOS Appstore 打包失败 错误日志: https://app.liuyingyong.cn/build/errorLog/9c04eef0-503e-11f1-867a-d7c53ef45c0f
[HBuilder] 17:17:34.947 Analyzing dependencies
[HBuilder] 17:17:34.948 [!] CocoaPods could not find compatible versions for pod "BytePlusRTC":
[HBuilder] 17:17:34.948 In Podfile:
[HBuilder] 17:17:34.948 BytePlusRTC (= 3.60.103.5600)
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948 None of your spec sources contain a spec satisfying the dependency: BytePlusRTC (= 3.60.103.5600).
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948 You have either:
[HBuilder] 17:17:34.948 out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
[HBuilder] 17:17:34.948 mistyped the name or version.
[HBuilder] 17:17:34.948 not added the source repo that hosts the Podspec to your Podfile.
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948
[HBuilder] 17:17:35.201 Analyzing dependencies
[HBuilder] 17:17:35.201 [!] CocoaPods could not find compatible versions for pod "BytePlusRTC":
[HBuilder] 17:17:35.201 In Podfile:
[HBuilder] 17:17:35.201 BytePlusRTC (= 3.60.103.5600)
[HBuilder] 17:17:35.201
[HBuilder] 17:17:35.201 None of your spec sources contain a spec satisfying the dependency: BytePlusRTC (= 3.60.103.5600).
[HBuilder] 17:17:35.201
[HBuilder] 17:17:35.201 You have either:
[HBuilder] 17:17:35.201 out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
[HBuilder] 17:17:35.201 mistyped the name or version.
[HBuilder] 17:17:35.201 not added the source repo that hosts the Podspec to your Podfile.
[HBuilder] 17:17:35.201
[HBuilder] 17:17:34.792 项目 MarooChatApp [UNIBB5E4A1]的打包状态:
[HBuilder] 17:17:34.792 时间: 2026-05-15 17:15:29 类型: iOS Appstore 打包失败 错误日志: https://app.liuyingyong.cn/build/errorLog/9c04eef0-503e-11f1-867a-d7c53ef45c0f
[HBuilder] 17:17:34.947 Analyzing dependencies
[HBuilder] 17:17:34.948 [!] CocoaPods could not find compatible versions for pod "BytePlusRTC":
[HBuilder] 17:17:34.948 In Podfile:
[HBuilder] 17:17:34.948 BytePlusRTC (= 3.60.103.5600)
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948 None of your spec sources contain a spec satisfying the dependency: BytePlusRTC (= 3.60.103.5600).
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948 You have either:
[HBuilder] 17:17:34.948 out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
[HBuilder] 17:17:34.948 mistyped the name or version.
[HBuilder] 17:17:34.948 not added the source repo that hosts the Podspec to your Podfile.
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948
[HBuilder] 17:17:35.201 Analyzing dependencies
[HBuilder] 17:17:35.201 [!] CocoaPods could not find compatible versions for pod "BytePlusRTC":
[HBuilder] 17:17:35.201 In Podfile:
[HBuilder] 17:17:35.201 BytePlusRTC (= 3.60.103.5600)
[HBuilder] 17:17:35.201
[HBuilder] 17:17:35.201 None of your spec sources contain a spec satisfying the dependency: BytePlusRTC (= 3.60.103.5600).
[HBuilder] 17:17:35.201
[HBuilder] 17:17:35.201 You have either:
[HBuilder] 17:17:35.201 out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
[HBuilder] 17:17:35.201 mistyped the name or version.
[HBuilder] 17:17:35.201 not added the source repo that hosts the Podspec to your Podfile.
[HBuilder] 17:17:35.201
bug描述:
云打包时常报错,需要重新提交多次云打包才能打包成功
[HBuilder] 17:17:34.792 项目 MarooChatApp [UNIBB5E4A1]的打包状态:
[HBuilder] 17:17:34.792 时间: 2026-05-15 17:15:29 类型: iOS Appstore 打包失败 错误日志: https://app.liuyingyong.cn/build/errorLog/9c04eef0-503e-11f1-867a-d7c53ef45c0f
[HBuilder] 17:17:34.947 Analyzing dependencies
[HBuilder] 17:17:34.948 [!] CocoaPods could not find compatible versions for pod "BytePlusRTC":
[HBuilder] 17:17:34.948 In Podfile:
[HBuilder] 17:17:34.948 BytePlusRTC (= 3.60.103.5600)
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948 None of your spec sources contain a spec satisfying the dependency: BytePlusRTC (= 3.60.103.5600).
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948 You have either:
[HBuilder] 17:17:34.948 out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
[HBuilder] 17:17:34.948 mistyped the name or version.
[HBuilder] 17:17:34.948 not added the source repo that hosts the Podspec to your Podfile.
[HBuilder] 17:17:34.948
[HBuilder] 17:17:34.948
[HBuilder] 17:17:35.201 Analyzing dependencies
[HBuilder] 17:17:35.201 [!] CocoaPods could not find compatible versions for pod "BytePlusRTC":
[HBuilder] 17:17:35.201 In Podfile:
[HBuilder] 17:17:35.201 BytePlusRTC (= 3.60.103.5600)
[HBuilder] 17:17:35.201
[HBuilder] 17:17:35.201 None of your spec sources contain a spec satisfying the dependency: BytePlusRTC (= 3.60.103.5600).
[HBuilder] 17:17:35.201
[HBuilder] 17:17:35.201 You have either:
[HBuilder] 17:17:35.201 out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
[HBuilder] 17:17:35.201 mistyped the name or version.
[HBuilder] 17:17:35.201 not added the source repo that hosts the Podspec to your Podfile.
[HBuilder] 17:17:35.201
2 个回复
Ask小助手
作为DCloud官方人员,我对这个bug反馈进行评审如下:
一、反馈内容完整性分析
这个反馈在完整性方面存在一些不足:
缺少的关键信息:
内容完整性评价:
二、Bug是否成立
根据知识库中的信息,这个bug从技术角度来说不完全成立,更准确地说是一个云端编译环境限制导致的已知问题。
依据说明:
知识库中明确指出了类似问题的根本原因: 云打包无法适配IOS26 中提到,目前云打包环境为 XCode 16.1 / iOS SDK 18.1,而BytePlusRTC 3.60.103.5600可能是需要更高版本iOS SDK才能编译通过的新版本。
CocoaPods依赖找不到的问题,在uts插件文档中有明确说明: 找不到指定版本的 pod 库,或者找不到指定依赖,错误信息和这个反馈完全一致。
这类问题的解决思路,知识库也给出了:对于需要高版本iOS SDK的源码,需要将其打包为动态库(framework),避免云端环境编译这些需要高版本iOS SDK的源码。
三、问题分析与建议
这不是最基本的概念问题,而是云端编译环境与最新iOS SDK版本不匹配导致的典型场景。反馈中提到的"需要重新提交多次才能成功"可能是因为云端服务器在某个时段恰好有缓存或者网络状况较好,导致偶然成功。
建议解决方案:
检查项目中使用的是哪个插件引入了BytePlusRTC依赖,确认该插件版本是否与当前云端编译环境兼容
如果是自己集成的第三方SDK,建议按照知识库中的方案: 云打包无法适配IOS26,将需要高版本iOS SDK的源码打包为动态库
关注HBuilderX的版本更新日志,后续我们会升级云端打包环境的iOS SDK版本
建议到专业群咨询: uni-app 官方技术交流群 1,群中有专业的管理员可以协助排查具体原因
对于用户来说,建议补充以下信息以便我们进一步分析:
用户2994187 (作者)
我自己开发的插件,是不是你们 CocoaPods 镜像 spec 源 不稳定,每次因为在做原生代码的开发,打的包也超过了250MB,即使买了企业打包机器,现在每次打包尝试都要花费10元的,我看即使打包失败了也在扣钱?有什么解决办法吗,不可能每次都要重试才能打包,这太扯了。
要回复问题请先登录或注册
公告
更多>相关问题