-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
MacOS - App is signed, but getting "The application "App.app" can't be opened" #9738
Comments
Fixed when I removed |
Also facing this issue, but we can't remove entitlements as we have somethings we need there in both files. |
@ollyde The default value of |
Tauri's cli will automatically include entitlements here, so if you specify Info.plist as one, it will run
and So, OP's issue is For @ollyde: Can you share the error logs and the contents of the relevant files? |
@FabianLars I'm facing this same problem too, it seems like if I don't include the explicit "entitlements": "info.plist" in the tauri conf, it builds, signs and notarizes without the key line "Info using entitlements file at info.plist", which builds, installs, and opens, but since the permissions weren't included, we cannot access the microphone. Here's the info.plist file we use:
When I do include the "entitlements": "info.plist" line, it does print "Info using entitlements file at info.plist" at signing time, but when I go to open the app once installed, I get the "The application can't be opend" error. What is the recommended way to request microphone permissions? Is it even a plist file or another way? btw I'm using tauri v2.0.0-beta.16 |
Describe the bug
I'm building for MacOS aarch64, everything seems to work fine. You can see the last lines of build command's log below, which seems to be successful.
But when I try to run the app, I get the following alert error:
codesign --force --deep --sign H1ZJCH8WC4 /Applications/App.app
, Then it works and I can open the App!pnpm create tauri-app --beta
and couldn't reproduce my problem. Then, I replaced my files into the new project, And same problem.I wonder If there's any other way to debug this beside moving my files into a brand new project one-by-one and hit
build
over and over.Update: Got one step further. It works if I remove
"entitlements": "info.plist"
frombundle.macOS
. Here's the content of info.plist:Full
tauri info
outputStack trace
The text was updated successfully, but these errors were encountered: