问题描述
公证我的Mac应用程序时开始出现问题。对我来说,什么都没有改变,也许一个月前我就成功地公证了。
这是签名后运行的公证代码:
const { notarize } = require('electron-notarize');
exports.default = async function notarizing(context) {
const { electronPlatformName,appOutDir } = context;
const appName = context.packager.appInfo.productFilename;
const password = `@keychain:AC_PASSWORD`;
if (electronPlatformName !== 'darwin') {
return;
}
await notarize({
appBundleId: 'com.electron.evost',appPath: `${appOutDir}/${appName}.app`,appleId: APPLE_ID',appleIdPassword: password
});
};
这是错误:
Error: Failed to find request UUID in output:
2020-08-27 20:35:09.240 altool[12112:9885704] *** Error: Unable to validate your application. We are unable to create an authentication session.
at /Users/USER/APP/node_modules/electron-notarize/src/index.ts:93:13
at Generator.next (<anonymous>)
at fulfilled (/Users/USER/APP/node_modules/electron-notarize/lib/index.js:4:58)
at runMicrotasks (<anonymous>)
我已经遵循this github issue中提到的所有步骤,其中包括创建应用专用密码(概述为here),但是没有运气。 希望有人能够阐明我如何解决此问题,也许我输入了特定于应用程序的密码错误?
谢谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)