Electron notarization failed due to “The binary uses an SDK older than the 10.9 SDK.”

◇◆丶佛笑我妖孽 提交于 2021-01-28 13:17:06

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/57172988/electron-notarization-failed-due-to-the-binary-uses-an-sdk-older-than-the-10-9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!