问题
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