夏源
夏源
  • 发布:2026-04-07 10:26
  • 更新:2026-04-07 10:26
  • 阅读:12

【报Bug】云打包IOS失败,本地安装包生成失败

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

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

HBuilderX类型: 正式

HBuilderX版本号: 5.06

手机系统: iOS

手机系统版本号: iOS 26

手机厂商: 苹果

手机机型: 没有

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

ios 云打包

预期结果:

打包成功

实际结果:

本地安装包生成失败

bug描述:

[HBuilder] 10:12:09.431 项目 xxx [xxxxx]的打包状态:
[HBuilder] 10:12:09.431 时间: 2026-04-07 10:02:26 类型: iOS Appstore 正在本地生成安装包(请勿关闭HBuilderX)
[HBuilder] 10:12:10.242
[HBuilder] 10:12:10.242 本地安装包生成失败,请重试或者切换到非安心打包模式进行打包 查看错误日志

[Info] begin copyFile files to ipa...  
[Info] begin replace files to ipa...  
[Info] begin update mobileprovision to ipa...  
[Info] begin outPut t_entitlements_full plist file...  
[Info] begin outPut outPutEntitlements plist file...  
[Info] begin verifyPlistFiles  
[Info] begin update files to ipa...  
[Info] begin createKeychain...  
[Error] /Users/xiayuan/.bash_profile: line 9: ${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh: bad substitution  
[Error] Error: Oh My Zsh can't be loaded from: .   
[Error] You need to run zsh instead.  
[Error] Here's the process tree:  
[Error]  PPID   PID COMMAND  
[Error]     1   751 /Applications/HBuilderX.app/Contents/MacOS/HBuilderX  
[Error]   751  5645 /bin/bash --login -c security create-keychain -p HBuilderX HBuilderX.keychain  
[Error] /Users/xiayuan/.p10k.zsh: line 16: local: can only be used in a function  
[Error] /Users/xiayuan/.p10k.zsh: line 20: builtin: setopt: not a shell builtin  
[Error] /Users/xiayuan/.p10k.zsh: line 22: syntax error near unexpected token `)'  
[Error] /Users/xiayuan/.p10k.zsh: line 22: `() {'  
[Error] createKeychain failed  
[Error] /Users/xiayuan/.bash_profile: line 9: ${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh: bad substitution  
[Error] Error: Oh My Zsh can't be loaded from: .   
[Error] You need to run zsh instead.  
[Error] Here's the process tree:  
[Error]  PPID   PID COMMAND  
[Error]     1   751 /Applications/HBuilderX.app/Contents/MacOS/HBuilderX  
[Error]   751  5982 /bin/bash --login -c security list-keychains -s login.keychain-db  
[Error] /Users/xiayuan/.p10k.zsh: line 16: local: can only be used in a function  
[Error] /Users/xiayuan/.p10k.zsh: line 20: builtin: setopt: not a shell builtin  
[Error] /Users/xiayuan/.p10k.zsh: line 22: syntax error near unexpected token `)'  
[Error] /Users/xiayuan/.p10k.zsh: line 22: `() {'  
[Info] 制作结果:Failed.    Reason:   
2026-04-07 10:26 负责人:无 分享
已邀请:

要回复问题请先登录注册