New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't add entitlements.plist #3521
Comments
Same problem here when trying to setup permissions for microphone, it just crashes after packaging.
Ive also tested this using an old project with older versions and it works fine. Waiting for a fix... |
The default entitlements file is only user for some things in the default configuration. The reference implementation of "default options for file" is here https://github.com/electron/osx-sign/blob/main/src/sign.ts#L96-L112 and you can see that various entitlements files are used for different paths. Removing that logic will cause issues similar to what this original post is about |
Perhaps anyone can help me out with this, im trying to use the microphone input. .app Exec (MICROPHONE DOES NOT WORK AND DOES NOT REQUEST PERMISSION)Unix Exec (MICROPHONE WORKS AND REQUESTS PERMISSION)There's no way to make an app this way. Help... |
Pre-flight checklist
Electron Forge version
7.2.0
Electron version
28.2.2
Operating system
macOS 14.0
Last known working Electron Forge version
No response
Expected behavior
Code from Docs should work, by using provided entitlements:
Actual behavior
When running
npm run make
it fails with following errorAfter commenting out
optionsForFile
part, there are no errorsSteps to reproduce
Create
entitlements.plist
file in root directory of your project, with the content from default entitlements:https://github.com/electron/osx-sign/blob/main/entitlements/default.darwin.plist
Additional information
No response
The text was updated successfully, but these errors were encountered: