-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 Sign error while uploading to apple store. #4602
Comments
@develar and @stefanjudis thanks for your commitment to this repo. So awesome. I'm not an experienced dev but perhaps our team can help a bit more to resolve the other issues logged in this repo. Admittedly I and @ahmadwaliesipick are under a lot of pressure right now to figure out how to fix the build issues with our angular app using electron for MacOS. Do you have any ideas or could you direct us to others in the community who might be able to help? We can hire the right dev to help us fix this for our commercial product. Thanks. |
@kellerchch how did you generate the codesigning information? We have a document in the main codebase that should outline the necessary steps. This module partially abstracts that process away should you prefer that: https://github.com/electron/electron-osx-sign |
Thanks @codebytere. I'll alert @ahmadwaliesipick to check these links you shared. Thank you for the reply. |
happy to help 🙇♀ feel free to follow up if that doesn't work as expected! |
To me it looks like you are using a wrong bundle id for your app during notarize. Following is my notarize script which requires you to provide the app bundle id. I use electron-notarize.
Here is my entitlement file -
Let me know how it goes. I hope this helps. Good luck. |
@codebytere thanks for sharing the document link but i am already following that document. Can you please check above package.json and entitlements.mac.plist. Do you have any suggestion to used some specific electron-builder & electron version? |
@amargautam i am using same bundle id which i have created at https://appstoreconnect.apple.com |
@ahmadwaliesipick Did you solve this? Something is wrong with your config or else you should not get this error. This is not a problem with Electron Builder. Do you mind posting your complete build config (minus any sensitive info)? Also note that you posted the build config above which says your target is
|
@ahmadwaliesipick Have you resolved this? I am getting the same error while verifying the Electron App. |
@sonamgupta-kiwi and @amargautam thanks for weighing in on this thread. This was a top priority to fix but because of the complexity of it, @ahmadwaliesipick moved to other items. Even today he was about to pick this task back up to solve this but we reprioritized other items. I'm guessing Wali is probably a week to 10 days out from working on this again and then with his brains combined with yours, I am confident he will find a solution. Thanks. |
i have posted config above |
I was getting similar errors when verifying the bundle with After this the build passed all verifications and uploaded with no issues. |
I am running into the same issue. I recreated the certificates and the provisioning profile multiple times and my config looks alright to me. @ahmadwaliesipick were you able to make it work in the end somehow? |
I have also facing this issue. ITMS-90237: The product archive package's signature is invalid. Ensure that it is signed with your '3rd Party Mac Developer Installer' certificate. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
In my case, expired certificates were not removed from the Keychain. (New ones were automatically generated by XCode) |
Electron Version : 6.0.10
Electron Build version: 21.2.0
The following signing errors are shown during uploading mac pkg to apple store.
I have all these certificates at keychain:
command: security find-identity -p codesigning -v
3 valid identities found
Errors on upload pkg:
Here are mac settings in package.json file;
entitlements.mac.plist:
The text was updated successfully, but these errors were encountered: