uni-app iOS云打包始终提示未安装苹果根证书,ios打包基座后就立刻闪退
uni-app iOS云打包始终提示未安装苹果根证书,ios打包基座后就立刻闪退
产品分类
uniapp/App
开发环境信息
项 | 详情 |
---|---|
PC开发环境操作系统 | Mac |
PC开发环境操作系统版本号 | 11.6 |
HBuilderX类型 | 正式 |
HBuilderX版本号 | 3.2.12 |
手机系统 | 全部 |
手机厂商 | 苹果 |
页面类型 | vue |
vue版本 | vue2 |
打包方式 | 云端 |
项目创建方式 | HBuilderX |
测试过的手机
iPhone X,小米9
操作步骤
总是打包失败,提示未安装苹果根目录证书,然后把证书拖拽进钥匙串的系统中,信任模式是默认,打包还依然提示未安装跟证书,
然后又把证书拖拽到登录里,信任模式还是默认,依然打包不成功提示没有跟证书。
预期结果
希望云打包成功。
实际结果
总是打包失败,提示未安装苹果根目录证书。
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] 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/zhangyao/Library/Keychains/HBuilderX.keychain-db”
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>=“userDistribution”
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0x7E6613ED01B45207CA64EA7426FD0F335E3DC1BA “~f\023\355\001\264R\007\312d\352t&\375\0173^=\301\272”
[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] /bin/bash: -c: line 0: syntax error near unexpected token (' [Error] /bin/bash: -c: line 0:
codesign -s ‘iPhone Distribution: Xi’an Liji Perfect Health Management Co., Ltd (94G274KF7U)’ -i app.yuexiangdaojia --entitlements /Users/zhangyao/Desktop/enjoy-home-user/unpackage/cache/ipa/entitlements.plist -f HBuilder.xcarchive/Payload/HBuilder.app’
[Error] /bin/bash: -c: line 0: syntax error near unexpected token (' [Error] /bin/bash: -c: line 0:
security delete-certificate -c ‘iPhone Distribution: Xi’an Liji Perfect Health Management Co., Ltd (94G274KF7U)’ /Users/zhangyao/Library/Keychains/HBuilderX.keychain’
[Info] begin importSecurity…
[Info] 1 identity imported.
[Error] /bin/bash: -c: line 0: syntax error near unexpected token (' [Error] /bin/bash: -c: line 0:
codesign -s ‘iPhone Distribution: Xi’an Liji Perfect Health Management Co., Ltd (94G274KF7U)’ -i app.yuexiangdaojia --entitlements /Users/zhangyao/Desktop/enjoy-home-user/unpackage/cache/ipa/entitlements.plist -f HBuilder.xcarchive/Payload/HBuilder.app’
[Error] /bin/bash: -c: line 0: syntax error near unexpected token (' [Error] /bin/bash: -c: line 0:
security delete-certificate -c ‘iPhone Distribution: Xi’an Liji Perfect Health Management Co., Ltd (94G274KF7U)’ /Users/zhangyao/Library/Keychains/HBuilderX.keychain’
[Info] begin importSecurity…
[Info] 1 identity imported.
[Error] codesignApp to ipa failed
[Info] Package make result:Failed. Reason:
看下文档下面的常见问题指南 https://ask.dcloud.net.cn/article/37979
引入了,然后又删除了
回复 8***@qq.com: 云插件清空以后也不能打包么
解决了吗?
解决了吗,我也遇到了