Open wyhaya opened 9 months ago
@wyhaya
Can you tell what's the solution? Or even a workaround?
Should I sign the app with self signed cert everytime it reloads?
Is there a simple solution it will work with cargo tauri dev
?
After many many solutions I tried including AID repair to the disk, and playing with different options in keychain I found something that worked and stopped this password prompt without errors:
@thewh1teagle Unfortunately that doesn't seem to work for me.
Describe the problem
In
development mode
, Tauri does not code-sign macOS app. If your app needs to call some API that requirepermission
control, you will need to re-authorize each time.Example:
If your application saves 100 passwords in the
keychain
, every time you runtauri dev
, macOS will think it is a new unauthorized app, so you will have to enter the password 100 times in this dialog, which greatly affects the development experience.Code signing in development mode will especially make sense if your app needs to access any of the ones listed below.
Describe the solution you'd like
When run
tauri dev
, check the environment variables listed here: Code Signing macOS Applications. If configured, sign the app.Alternatives considered
No response
Additional context
No response