-
-
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
On Mac: failed to bundle project: failed to sign app #9760
Comments
I just noticed these two lines:
Are there two certificates with the same name in your keychain? |
@pewsheen I think so. Does the name have to be unique? |
Yeah, it is using the name to get the certificate. It can’t decide which one to use if there are two identical names. |
I removed the certificates on my mac, also reset keychain, now getting new error.
I am not familiar with the code signing process. Do I have to install some certificate for this to work? |
I also tried to code sign in a clean macos VM also didn't work, and there is no meaningful error message.
|
Did you use the certificate that was downloaded from Apple Developer > Certificates? Can you bundle the app by using |
I am having very weird and inconsistent problem when building and code sign a Tauri app on Mac.
I have certificate and passwords from a previous app that could code sign, and I also generated a new set of certificate and passwords for current project. Let me call them
ENV-old
andENV-new
.I could not code sign my current app locally with either ENV-old or ENV-new.
If I use github action CI, ENV-new doesn't work, but ENV-old work.
I also Tried both set of credentials on my previous project. Both ENV-old and ENV-new don't work locally. and only ENV-old works in GitHub Action.
I did check whether there are new terms to sign on Apple's website.
I did try to code sign a brand new tauri app.
What could be wrong with the certificates? They are newly generated following https://tauri.app/v1/guides/distribution/sign-macos/
Here is the log I get with
npm run tauri build --verbose
, but I can't see the reason this failed.The text was updated successfully, but these errors were encountered: