一直提示:当前系统没有安装苹果根证书,是否打开证书目录(打开后依次安装证书AppleWWDRCAG3.cer,AppleWWDRCA.cer,DeveloperIDCA.cer)
重新安装证书,重启都没用作用。
日志:
[Info] begin update mobileprovision to ipa...
[Info] begin outPut t_entitlements_full plist file...
[Info] begin outPut outPutEntitlements plist file...
[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/huangjiesheng/Library/Keychains/HBuilderX.keychain-db"
[Info] version: 512
[Info] class: 0x00000010
[Info] attributes:
[Info] 0x00000000 <uint32>=0x00000010
[Info] 0x00000001 <blob>="kangduapp"
[Info] 0x00000002 <blob>=<NULL>
[Info] 0x00000003 <uint32>=0x00000001
[Info] 0x00000004 <uint32>=0x00000000
[Info] 0x00000005 <uint32>=0x00000000
[Info] 0x00000006 <blob>=0x86D0D09C90486220353882237ECE2B2A04203EE4 "\206\320\320\234\220Hb 58\202#~\316+\004 >\344"
[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] DCloudUTSFoundation.framework: replacing existing signature
[Error] DCUniBase.framework: replacing existing signature
[Error] KSAdSDK.framework: replacing existing signature
[Error] UPLiveSDKDll.framework: replacing existing signature
[Info] begin updatePlistInfo to ipa...
[Info] begin codesignApp to ipa...
[Error] /private/var/folders/xq/vmpvd5z572x5b46tx_64vwtr0000gn/T/.codesin/20230202143730/entitlements.plist: unrecognized blob type (accepting blindly)
[Error] /private/var/folders/xq/vmpvd5z572x5b46tx_64vwtr0000gn/T/.codesin/20230202143730/entitlements.plist: invalid length in entitlement blob
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] /private/var/folders/xq/vmpvd5z572x5b46tx_64vwtr0000gn/T/.codesin/20230202143730/entitlements.plist: unrecognized blob type (accepting blindly)
[Error] /private/var/folders/xq/vmpvd5z572x5b46tx_64vwtr0000gn/T/.codesin/20230202143730/entitlements.plist: invalid length in entitlement blob
[Info] begin importSecurity...
[Info] 1 identity imported.
[Error] codesignApp to ipa failed
7***@qq.com
这个回复亲测有效,不过补充说一下,还需要把证书信任改成默认才行
2025-01-12 23:20
元梦
这个的确可以,亲测可以了
2025-04-05 23:27