3***@qq.com
3***@qq.com
  • 发布:2023-08-23 09:35
  • 更新:2023-10-24 11:10
  • 阅读:310

【报Bug】使用云发布证书安心打包ios时报错没有苹果根证书

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: macOs 12.6.8

HBuilderX类型: 正式

HBuilderX版本号: 3.8.12

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iphone14

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

云打包

预期结果:

打包成功

实际结果:

打包报错

bug描述:

[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] begin importSecurity...
[Info] 1 identity imported.
[Info] begin setkeyPartitionList...
[Info] keychain: "/Users/XXX/Library/Keychains/HBuilderX.keychain-db"
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>="Apple Distribution: ShenZhen Great Sun Network Technology Co., Ltd."
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0x6911D05AAE70497358299ADE759735365ABA726E "i\021\320Z\256pIsX)\232\336u\22756Z\272rn"
[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
[Info] begin updatePlistInfo to ipa...
[Info] begin codesignApp to ipa...
[Error] /Users/XXX/project/dist/build/app/unpackage/cache/ipa/entitlements.plist: unrecognized blob type (accepting blindly)
[Error] /Users/XXX/project/dist/build/app/unpackage/cache/ipa/entitlements.plist: invalid length in entitlement blob
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] /Users/XXX/project/dist/build/app/unpackage/cache/ipa/entitlements.plist: unrecognized blob type (accepting blindly)
[Error] /Users/XXX/project/dist/build/app/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:

2023-08-23 09:35 负责人:无 分享
已邀请:
喜欢技术的前端

喜欢技术的前端 - QQ---445849201

之前有遇到过,看一下是不是根证书过期了,附件传了证书

  • 3***@qq.com (作者)

    系统打包有对应证书的,都安装了,但是还是会出现,证书都已经安装在登录和系统里面,但是还是不行

    2023-08-24 08:44

iOSDeveloper

iOSDeveloper - 专注于iOS相关领域

是否已解决此问题

要回复问题请先登录注册