Open ndebartha opened 1 year ago
Adding osxSign: {} inside packagerConfig it should add "com.apple.security.app-sandbox" entitlement with a Boolean value of true.
What command are you running, the app-sandbox entitlement is only provided when packaging and signing a mas
platform build.
E.g. electron-forge make --platform=mas
@MarshallOfSound I'm running electron-forge make --platform=mas --arch=x64
@ndebartha it might not solve your entire problem, but the app store requires universal binaries, so a x64 only upload will not be accepted AFAIK.
Pre-flight checklist
Electron Forge version
6.2.1
Electron version
17.0.0
Operating system
MacOS 13.1
Last known working Electron Forge version
No response
Expected behavior
Adding osxSign: {} inside packagerConfig it should add "com.apple.security.app-sandbox" entitlement with a Boolean value of true.
Actual behavior
Getting error,
Asset validation failed (90296) App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list
Steps to reproduce
Here is my forge.config.js
module.exports = { packagerConfig: { asar: true, icon: "src/icons/mac/icon.icns", name: "XXXXX", appBundleId: "com.app.XXXX", appVersion: "1.0.3", buildVersion: "1.0.4", setupIcon: "src/icons/mac/icon.icns", osxSign: {}, }, makers: [ { name: "@electron-forge/maker-pkg", config: { "identity": "3rd Party Mac Developer Installer: XXXXXXXXX (XXXXXXXX)", "identity-validation": true } }, ], plugins: [ { name: '@electron-forge/plugin-auto-unpack-natives', config: {}, }, ], };
Additional information
No response