Closed quinton-ashley closed 3 years ago
I think the problem is that my folder permisions got messed up. Fixed with chmod 777 -R ./
no that didn't fix it actually
Try to move the folder into desktop or any other non-admin folder. Then run the command without using sudo.
I forgot to update this issue request. I got it to work but the zip created by electron-builder was bad, the uncompressed app from the zip didn't have signing. I had to zip the app myself and then it would be signed properly.
Seems like your env may need to be reconfigured with new Certificate Authority certs https://developer.apple.com/forums/thread/131088?answerId=620963022#620963022
Is zip your only target by chance?
I think I fixed the certificate issues before.
Should I use a different target?
Can you please try using dmg and see if the app inside it is signed properly?
I think you may be running into a bug with the mac target that was mentioned in some old issue, but I'll need you to try the dmg
target instead of zip
to confirm.
okay I will soon, sorry I did not respond to this sooner
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.
I forgot to update this issue request. I got it to work but the zip created by electron-builder was bad, the uncompressed app from the zip didn't have signing. I had to zip the app myself and then it would be signed properly.
I have same issues . What did you do to fix it?
@quinton-ashley I have same issues . What did you do to fix it?
Update to the latest version of electron and electron-builder.
On Thu, Dec 9, 2021 at 01:50 Careteen @.***> wrote:
@quinton-ashley https://github.com/quinton-ashley I have same issues . What did you do to fix it?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/electron-userland/electron-builder/issues/5684#issuecomment-989564690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEY2RQ6ZYXLDVV7N4LKK5KTUQBGRVANCNFSM4YXEPIPQ .
Spent 4-5 hours on it yesterday
I solved it by creating the certificates directly from XCode, not from developer.apple.com
What an nightmare...
Spent 4-5 hours on it yesterday
I solved it by creating the certificates directly from XCode, not from developer.apple.com
What an nightmare...
I can confirm, this worked for me as well!
Previously I just created the certificate on the Apple Developer Dashboard, and downloaded it. Then I opened it and set it to "Trust always", however this is apparently not correct.
When I generated the certificate with Xcode, I get right away get a green check, saying the certificate is trusted. That's what you need!
It's easy to generate the certificate via Xcode
Thanks a lot guys!!! Xcode Certificats finally fixed the same issue for me:)
I did all 3 before it worked:
It seems running with sudo makes it fail, just tried with / without and that seems to be a direct cause... not sure how though and a bit curious