HarmonyOS 鸿蒙Next:Signing failed. Reconfigure the signature or clear the /Users/xx/.ohos/config folder and perform sign

HarmonyOS 鸿蒙Next:Signing failed. Reconfigure the signature or clear the /Users/xx/.ohos/config folder and perform sign 我将.cer .p7b .p12文件放在我电脑本地的 /Users/xxx/.ohos/config 文件夹下

"material": {
    ...
    "profile": "/Users/xxx/.ohos/config/xxx=.p7b",
    "storeFile": "/Users/xxx/.ohos/config/xxx=.p12",
    "certpath": "/Users/xxx/.ohos/config/xxx=.cer",
    ...
}

提示错误

> hvigor ERROR: Failed :entry:default@SignHap...
> hvigor ERROR: Unsupported state or unable to authenticate data

Detail: Signing failed. Reconfigure the signature or clear the /Users/tianxuanming/.ohos/config folder and perform signing again.

at /Users/tianxuanming/DevEcoStudioProjects/sc_harmony/build-profile.json5


更多关于HarmonyOS 鸿蒙Next:Signing failed. Reconfigure the signature or clear the /Users/xx/.ohos/config folder and perform sign的实战教程也可以访问 https://www.itying.com/category-93-b0.html

2 回复

如果只是测试的话,用自签名即可。如果是团队开发,需要申请统一的签名,并且配置到不同设备可引用的路径

更多关于HarmonyOS 鸿蒙Next:Signing failed. Reconfigure the signature or clear the /Users/xx/.ohos/config folder and perform sign的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


如果是团队开发, cer.p7b这个文件是用统一的, .p12文件是每个人都用自己的么

回到顶部