I’m having trouble with the notary step of our electron app. It sometimes says “In progress” for days on end, where other times, it only takes 15-20 minutes.
For the last few weeks, I’ve noticed that it will take longer than the 20 minutes if our app was using a not latest version of the electron module -- https://www.npmjs.com/package/electron. I would then update our codebase to build using the latest version, and then try to sign and notarize the app again, and it would work till a new version was released.
This was the first time that that process didn’t work. Everything is on latest, and we’re still getting stuck “in progress” for days on end. We have been signing and Notarizing this app for years now, so it's not the first time we're trying to do this process
To make matters stranger, I have two branches of the same exact code base – same dependencies, same source code, same everything – there is no difference. One sign and notarize works 100% of the time where the other one hasn’t worked yet.
Any ideas would be helpful. I'm not really sure where to begin to debug this.
Thanks!
Do you have a format that would be better recommended?
Yes. Use HFS Plus.
I’m actually surprised that the notary service works with UDF disk images at all. I suspect it’s just an artefact of the implementation. Generally Mac software is distributed on HFS Plus or APFS disk images [1]
So, yeah, my final advice here is that:
-
It’s fine to continue distributing your software on a disk image.
-
But change that disk image to HFS Plus.
That should avoid this notary service bug, and HFS Plus is a better option in general so I have no qualms about recommending this change.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Well, assuming it’s on a disk image at all. There are, of course, completely different options, like an installer package.