电子公证失败是由于“二进制文件使用的10.9 SDK较旧." [英] Electron notarization failed due to "The binary uses an SDK older than the 10.9 SDK."
问题描述
我正在努力为我的电子应用程序进行公证.苹果因二进制文件使用的SDK版本早于10.9 SDK"而未能对我的应用程序进行公证.我认为它是指MacOS SDK.我在Electron文档中找不到有关如何配置在构建过程中使用的MacOS SDK版本的参考.我正在使用Xcode 10.1,Electron 4.0.0,Electron-builder 20.44.4.我的问题归结于什么真正控制了电子使用的SDK版本?是Xcod,Electron版本还是系统中的某些设置?
I'm trying to get notarization working for my electron app. Apple failed to notarize my App due to "The binary uses an SDK older than the 10.9 SDK". I assume it refers to MacOS SDK. I could not find reference in Electron documentation about how to configure MacOS SDK version being used in the building process. I'm using Xcode 10.1, Electron 4.0.0, Electron-builder 20.44.4. My question comes down to what actually controls the SDK version used by electron? Is it Xcod, Electron version or some setting in my system?
推荐答案
在2020年出现此错误.在我们的例子中,问题是……错误消息的确切报告;我们需要使用10.9 SDK重新编译外部动态库.
Came across this error in 2020. This is going to sound snide, but it may be helpful to others; in our case, the problem was... exactly what the error message reported; we needed to recompile our external dynamic libraries using the 10.9 SDK.
这篇关于电子公证失败是由于“二进制文件使用的10.9 SDK较旧."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!