k***@163.com
k***@163.com
  • 发布:2023-07-21 10:18
  • 更新:2023-08-12 00:11
  • 阅读:353

【报Bug】mac 安心打包时出错

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: Ventura 13.4.1(C)

HBuilderX版本号: 3.8.7

操作步骤:

mac系统上,进行安心打包

预期结果:

生成本地ipa文件

实际结果:

提示签名错误,没有安装苹果根证书,实际上已经反复安装了无数次了

bug描述:

证书明明已经安装了,还是每次在生成本地安装包的时候弹出来,说什么根证书没有安装,让安装,然后弹出那两个证书的文件夹,让安装。下面是错误日志。

[Info] 0x00000019 <uint32>=0x00000001
[Info] 0x0000001A <uint32>=0x00000001
[Info] begin getCertCName...
[Info] begin codesignFramwork to ipa...
[Error] DCUniBase.framework: replacing existing signature
[Error] Warning: unable to build chain to self-signed root for signer "(null)"
[Error] DCUniBase.framework: errSecInternalComponent
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] DCUniBase.framework: replacing existing signature
[Error] Warning: unable to build chain to self-signed root for signer "(null)"
[Error] DCUniBase.framework: errSecInternalComponent
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] codesignFramwork to ipa failed
[Info] Package make result:Failed. Reason:

2023-07-21 10:18 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

更新最新版hbx,看看

z***@126.com

z***@126.com

同样问题,楼主如何解决的

[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] verifyFiles is empty
[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] 1 certificate imported.
[Info] begin importSecurity...
[Info] 1 identity imported.
[Info] begin setkeyPartitionList...
[Info] keychain: "/Users/zhangjun/Library/Keychains/HBuilderX.keychain-db"
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>=0xE5BCA0E4BF8A
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0x1952161E776465EDDB1F347B032F2BDC94BA8FEB "\031R\026\036wde\355\333\0374{\003/+\334\224\272\217\353"
[Info] 0x00000007 <blob>=<NULL>
[Info] 0x00000008 <blob>=0x7B38373139316361322D306663392D313164342D383439612D3030303530326235323132327D00 "{87191ca2-0fc9-11d4-849a-000502b52122}\000"
[Info] 0x00000009 <uint32>=0x0000002A "\000\000\000*"
[Info] 0x0000000A <uint32>=0x00000800
[Info] 0x0000000B <uint32>=0x00000800
[Info] 0x0000000C <blob>=0x0000000000000000
[Info] 0x0000000D <blob>=0x0000000000000000
[Info] 0x0000000E <uint32>=0x00000001
[Info] 0x0000000F <uint32>=0x00000001
[Info] 0x00000010 <uint32>=0x00000001
[Info] 0x00000011 <uint32>=0x00000000
[Info] 0x00000012 <uint32>=0x00000001
[Info] 0x00000013 <uint32>=0x00000001
[Info] 0x00000014 <uint32>=0x00000001
[Info] 0x00000015 <uint32>=0x00000001
[Info] 0x00000016 <uint32>=0x00000001
[Info] 0x00000017 <uint32>=0x00000001
[Info] 0x00000018 <uint32>=0x00000001
[Info] 0x00000019 <uint32>=0x00000001
[Info] 0x0000001A <uint32>=0x00000001
[Info] begin getCertCName...
[Info] begin codesignFramwork to ipa...
[Error] DCUniBase.framework: replacing existing signature
[Error] Warning: unable to build chain to self-signed root for signer "(null)"
[Error] DCUniBase.framework: errSecInternalComponent
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] DCUniBase.framework: replacing existing signature
[Error] Warning: unable to build chain to self-signed root for signer "(null)"
[Error] DCUniBase.framework: errSecInternalComponent
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] codesignFramwork to ipa failed
[Info] Package make result:Failed. Reason:

要回复问题请先登录注册