Asset validation failed (90296) App sandbox not enabled.
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 641
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 30
Description
### Pre-flight checklist
- [X] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.