DCloud_HB_WDL
DCloud_HB_WDL
  • 发布:2021-01-07 19:11
  • 更新:2024-10-16 14:39
  • 阅读:10671

HBuilderX: 关于iOS安心打包、本地重签,证书安装教程

分类:HBuilderX

前言

MacOSX iOS安心打包、本地重签失败, 需要安装相关证书.

打开证书目录

安装证书

  1. 点击证书文件, 会自动打开钥匙串, 下拉列表钥匙串, 选择系统, 点击 添加 按钮
  2. 点击添加后, 请在弹窗中,输入电脑密码, 允许钥匙串访问.
  3. 按照上面的步骤, 依次完成其它证书的导入.

0 关注 分享

要回复文章请先登录注册

4***@qq.com

4***@qq.com

我现在是10.13.6 ,打包遇到相同的问题,但是按照上面的步骤之前成功进行“安心”打包了。后期,有出现相同的提示了。
2021-07-16 16:33
7***@qq.com

7***@qq.com

11.2.3同样的问题。

[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/admin/Library/Keychains/HBuilderX.keychain-db"
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>="Admin"
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0x5B61D92BF2BE87C4AFFB3414CA8B276AF625434A "[a\331+\362\276\207\304\257\3734\024\312\213'j\366%CJ"
[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 updatePlistInfo to ipa...
[Info] begin codesignApp to ipa...
[Error] HBuilder.xcarchive/Payload/HBuilder.app: replacing existing signature
[Error] Warning: unable to build chain to self-signed root for signer "iPhone Distribution: Chongqing Three Birds Technology Co., Ltd. (VYNN3PZZ23)"
[Error] HBuilder.xcarchive/Payload/HBuilder.app: errSecInternalComponent
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] HBuilder.xcarchive/Payload/HBuilder.app: replacing existing signature
[Error] Warning: unable to build chain to self-signed root for signer "iPhone Distribution: Chongqing Three Birds Technology Co., Ltd. (VYNN3PZZ23)"
[Error] HBuilder.xcarchive/Payload/HBuilder.app: errSecInternalComponent
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] codesignApp to ipa failed
[Info] Package make result:Failed. Reason:
2021-06-23 22:33
4***@qq.com

4***@qq.com

回复 DCloud_HB_WDL :
mac的11.3版本的一样问题,安心打包的时候就跟你的截图一样的呀。还需要什么截图和日志?
2021-06-09 15:51
1***@163.com

1***@163.com

mac的11.3版本的如何解决
2021-05-18 18:22
Potato1314

Potato1314

按这个步骤能正常打包了,感谢
2021-04-27 23:15
Potato1314

Potato1314

mac系统10.15.7 也出现这个问题
2021-04-27 23:14
DCloud_HB_WDL

DCloud_HB_WDL (作者)

回复 5***@qq.com :
请仔细描述遇到的问题,并提供相关截图与日志。
2021-04-26 10:04
5***@qq.com

5***@qq.com

11.2.3的版本也出现了这种情况,如何解决啊
2021-04-26 00:05
nich

nich

回复 清霆 :
我也是这种情况,请问你解决了吗
2021-04-12 10:05
精于勤荒于你

精于勤荒于你

那以上的呢
2021-03-30 16:20