capacitor-community / capacitor-community/electron
App sandbox not enabled
- Dominant language
- TypeScript
- Stars
- 398
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I am unable to produce a package for MAS upload that will pass validation in transporter.
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: [(
".../Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler",
"../Frameworks/Squirrel.framework/Versions/A/Resources/ShipIt",
"../Frameworks/xxxyyyyyxxxxx Helper (GPU).app/Contents/MacOS/xxxyyyyyxxxxx Helper (GPU)",
"../Frameworks/xxxyyyyyxxxxx Helper (Plugin).app/Contents/MacOS/xxxyyyyyxxxxx Helper (Plugin)",
"../Frameworks/xxxyyyyyxxxxx Helper (Renderer).app/Contents/MacOS/xxxyyyyyxxxxx Helper (Renderer)",
"../Frameworks/xxxyyyyyxxxxx Helper.app/Contents/MacOS/xxxyyyyyxxxxx Helper",
"../xxxyyyyyxxxxx.app/Contents/MacOS/xxxyyyyyxxxxx" )]
**To Reproduce**
Steps to reproduce the behavior:
1. Create new electron project
2. cd electron && npm run electron:build-mac
3. Upload pkg to transporter
**Screenshots**

**Desktop (please complete the following information):**
- Device: 2021 iMac (m1)
- OS: Mac OS 12.5
Contributor guide
Research direction
Start with the `npm run electron:build-mac` entry point and inspect how the generated package and entitlements property lists are produced for the listed executables. Reproduce the build on macOS, then upload the resulting package to Transporter; done means validation no longer reports missing `com.apple.security.app-sandbox` entitlements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, macos, typescript
- Domain
- build-system, desktop, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100