点击云打包,上传发布证书,打包
- 发布:2022-12-02 16:32
- 更新:2022-12-02 18:20
- 阅读:343
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 12.6
HBuilderX类型: Alpha
HBuilderX版本号: 3.6.9
手机系统: iOS
手机系统版本号: iOS 16
手机厂商: 苹果
手机机型: iphone8plus
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
打包出ipa
打包出ipa
实际结果:
打包报错没有苹果根证书
打包报错没有苹果根证书
bug描述:
iOS使用发布证书打包报错,没有找到苹果根证书,但是我在系统证书中是有这三个证书的
y***@163.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/ouyangchengyu/Library/Keychains/HBuilderX.keychain-db"
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>="gewanchain"
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0xEB1F15E43A3AFB94B94519A76BB3D2A26F31C2BA "\353\037\025\344::\373\224\271E\031\247k\263\322\242o1\302\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 codesignFramwork to ipa...
[Error] iPhone Distribution: GEWAN CHAIN TECHNOLOGIES L.L.C (7FR4S5QQFM): ambiguous (matches "iPhone Distribution: GEWAN CHAIN TECHNOLOGIES L.L.C (7FR4S5QQFM)" in /Users/ouyangchengyu/Library/Keychains/HBuilderX.keychain-db and "iPhone Distribution: GEWAN CHAIN TECHNOLOGIES L.L.C (7FR4S5QQFM)" in /Library/Keychains/System.keychain)
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] iPhone Distribution: GEWAN CHAIN TECHNOLOGIES L.L.C (7FR4S5QQFM): ambiguous (matches "iPhone Distribution: GEWAN CHAIN TECHNOLOGIES L.L.C (7FR4S5QQFM)" in /Users/ouyangchengyu/Library/Keychains/HBuilderX.keychain-db and "iPhone Distribution: GEWAN CHAIN TECHNOLOGIES L.L.C (7FR4S5QQFM)" in /Library/Keychains/System.keychain)
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] codesignFramwork to ipa failed
[Info] Package make result:Failed. Reason:
BoredApe - 有问题就会有答案。
证书冲突,临时解决方案,手动删除“钥匙串访问”中的“系统”下的证书:
iPhone Distribution: GEWAN CHAIN TECHNOLOGIES L.L.C (7FR4S5QQFM)