rebel_kc
rebel_kc
  • 发布:2023-12-19 01:21
  • 更新:2025-09-12 17:48
  • 阅读:248

【报Bug】Mac电脑上打包报错 [Error] /bin/bash: @Win: command not found

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 14.1.2(23B92)

HBuilderX版本号: 3.98

操作步骤:

云打包

预期结果:

正常打包完成

实际结果:

异常报错停止

bug描述:

IOS云打包报错:
[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...
[Info] begin unlockKeychain...
[Info] begin setListKeychains...
[Info] begin importAppleCerts...
[Info] 1 certificate imported.
[Info] 1 certificate imported.
[Info] begin importSecurity...
[Error] /bin/bash: @Win: command not found
[Error] importSecurity failed
[Info] Package make result:Failed. Reason:

2023-12-19 01:21 负责人:DCloud_HB_WDL 分享
已邀请:
DCloud_HB_WDL

DCloud_HB_WDL

打开操作系统终端命令行,随便输入一个shell命令,比如输入ls,是否正常?

  • rebel_kc (作者)

    ls命令之类都是正常的。

    2023-12-19 15:54

  • rebel_kc (作者)

    刚用HBuilderX3.99新版本升级打包试了下,普通打包是可以的。快速安心打包,还是会有一样的报错。

    2023-12-27 16:25

1***@qq.com

1***@qq.com

2025了,“快速安心打包” iOS 问题同样存在,
-- 错误日志

[Error] /Users/x/.bash_profile: line 3: pyenv: command not found
[Error] createKeychain failed
[Error] /Users/x/.bash_profile: line 3: pyenv: command not found


测试
在 HBX的终端中正常输出
pyenv --version
pyenv 2.6.5

要回复问题请先登录注册