You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
If I run codesign --force --deep --sign H1ZJCH8WC4 /Applications/App.app, Then it works and I can open the App!
It was already working, like yesterday. It just got to this state and can't figure out what's wrong.
I made a new project with 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" from bundle.macOS. Here's the content of info.plist:
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/probe2.ll
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/probe3.ll
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/probe7.ll
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/stderr
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/output
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/root-output
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/invoked.timestamp
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app/Contents/MacOS/App
Info using entitlements file at info.plist
Signing /Users/.../target/release/bundle/macos/App.app
Info using entitlements file at info.plist
Warn skipping app notarization, no APPLE_ID & APPLE_PASSWORD & APPLE_TEAM_ID or APPLE_API_KEY & APPLE_API_ISSUER & APPLE_API_KEY_PATH environment variables found
Bundling App_0.0.2_aarch64.dmg (/Users/.../target/release/bundle/dmg/App_0.0.2_aarch64.dmg)
Running bundle_dmg.sh
Signing with identity "Apple Development: Created via API (H1ZJCH8WC4)"
Info Signing app bundle...
Signing /Users/.../target/release/bundle/dmg/App_0.0.2_aarch64.dmg
Info using entitlements file at info.plist
Bundling /Users/.../target/release/bundle/macos/App.app.tar.gz (/Users/.../target/release/bundle/macos/App.app.tar.gz)
Cleaning /Users/.../target/release/bundle/macos/App.app
Finished 1 bundle at:
/Users/.../target/release/bundle/dmg/App_0.0.2_aarch64.dmg
/Users/.../target/release/bundle/macos/App.app.tar.gz (updater)
Password:
Deriving a key from the password and decrypting the secret key... done
Finished 1 updater signature at:
/Users/.../target/release/bundle/macos/App.app.tar.gz.sig
The text was updated successfully, but these errors were encountered:
Fixed when I removed "entitlements": "info.plist" from bundle.macOS. Tauri is still including info.plist automatically. Though, this is still a bug. I'm not sure if I should close this issue.
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: