帅的邪门儿
帅的邪门儿
  • 发布:2021-02-01 15:19
  • 更新:2023-02-02 14:47
  • 阅读:2966

HBuilderX3.0.7使用mac打包ios应用提示苹果根证书没有安装

分类:HBuilderX

详细问题描述(DCloud产品不会有明显的bug,所以你遇到的问题大都是在特定环境下才能重现的问题,请仔细描述你的环境和重现方式,否则DCloud很难排查解决你的问题)
[内容]
HBuilderX3.0.7使用mac打包ios应用提示签名失败,苹果根证书安装失败,但是我已经按照文档的步骤安装了苹果根证书,而且都已经设置为完全信任状态,重启电脑以后,重新打包还是一样的错误提示。

重现步骤
[步骤]
[结果]
[期望]
[如果语言难以表述清晰,可以拍一个视频或截图,有图有真相]

IDE运行环境说明
[HBuilder 或 HBuilderX]
[IDE版本号]
[windows版本号]
[mac版本号]

App运行环境说明
[Android版本号]
[iOS版本号]
[手机型号]
[模拟器型号]

附件
日志如下

[Info] begin copyFile files to ipa...
[Info] begin replace files to ipa...
[Info] begin replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina35.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default.png]...
[Info] replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina35.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default.png] success.
[Info] begin replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina40.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-568h.png]...
[Info] replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina40.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-568h.png] success.
[Info] begin replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina47.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-667h.png]...
[Info] replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina47.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-667h.png] success.
[Info] begin replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina55.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-736h.png]...
[Info] replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-retina55.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-736h.png] success.
[Info] begin replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-iphonex.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-812h.png]...
[Info] replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-iphonex.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-812h.png] success.
[Info] begin replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-portrait-896h@2x.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-896h.png]...
[Info] replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-portrait-896h@2x.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-896h.png] success.
[Info] begin replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-portrait-896h@3x.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-896h.png]...
[Info] replaceFiles file[/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/wgt/UNIcn.org.nmgqnzyz/.manifest/splash-iphone-portrait-896h@3x.png] to [/Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/HBuilder.xcarchive/Payload/HBuilder.app/Default-896h.png] success.
[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/mac/Library/Keychains/HBuilderX.keychain-db"
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>=0xE5BCA0E69687E5BCBA
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0x4FFC4ED443B46999205E2A2E5932B7CE8807F5C8 "O\374N\324C\264i\231 ^.Y2\267\316\210\007\365\310"
[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] /Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/entitlements.plist: unrecognized blob type (accepting blindly)
[Error] /Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/entitlements.plist: invalid length in entitlement blob
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] /Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/entitlements.plist: unrecognized blob type (accepting blindly)
[Error] /Users/mac/development/内蒙/volunteer-app-front/src/unpackage/cache/ipa/entitlements.plist: invalid length in entitlement blob
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] codesignApp to ipa failed
[Info] Package make result:Failed. Reason:

[安装包]

联系方式
[QQ]
1837869079

2021-02-01 15:19 负责人:无 分享
已邀请:
z***@163.com

z***@163.com

问题解决了么老哥

6***@qq.com

6***@qq.com

问题解决了么老哥...

1***@163.com

1***@163.com

问题解决了吗?

  • DCloud_HB_WDL

    提供下操作系统具体版本。 加群827137391,进群找管理员

    2021-05-07 17:39

  • 1***@163.com

    回复 DCloud_HB_WDL: 谢谢,解决了

    2021-05-07 17:58

  • meng1111

    回复 1***@163.com: 具体是怎么解决的? 我也遇到了,一直等了半天也没人回答

    2021-05-09 16:39

  • jakeWang

    回复 meng1111: 我也遇到了

    2021-05-11 14:46

  • 1***@163.com

    回复 meng1111: 安装证书,但是我升级了mac系统后又出现这个问题啦

    2021-05-18 18:24

  • 1***@163.com

    回复 jakeWang: 安装证书,但是我升级了mac系统后又出现这个问题啦

    2021-05-18 18:24

  • 2***@qq.com

    回复 1***@163.com: 大哥,具体怎么安装的

    2023-02-02 14:41

c***@126.com

c***@126.com

怎么解决的?我这还是有这种问题

拔山河

拔山河

这样的问题我遇到过类似问题两次了。具体解决方案见我的文章《HBuilderX使用mac打包ios应用提示苹果根证书没有安装》https://blog.csdn.net/jia12216/article/details/118151791。

d***@yinhuafu.com

d***@yinhuafu.com

我这每次打包完,本地跟证书就显示不了,导致找不到证书,需要重启电脑

5***@qq.com

5***@qq.com

ios打包提示没安装根证书, mac版本12.4,看过官网以及百度的很多方法 重启、证书重新添加到目录或者系统里 包括信任更改 都试了还是不行 下面是错误日志

[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] 1 certificate imported.
[Info] begin importSecurity...
[Info] 1 identity imported.
[Info] begin setkeyPartitionList...
[Info] keychain: "/Users/wangguisen/Library/Keychains/HBuilderX.keychain-db"
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>=0xE78E8BE8B4B5E6A3AE
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0x893F14C18F286EB799AC8FCC2EE272214716C277 "\211?\024\301\217(n\267\231\254\217\314.\342r!G\026\302w"
[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: Shanghai Jinshan modern agricultural park management center (298UQ5ZVQR)"
[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: Shanghai Jinshan modern agricultural park management center (298UQ5ZVQR)"
[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:

2***@qq.com

2***@qq.com

怎么解决的,求方法

要回复问题请先登录注册