Re:Show HN: Xcnotary – a Mac app notarization helper made wi...
by tedmielczarek on Tuesday March 31, 2020 @07:49PM
(#22744100)
Very cool! Tangentially related, I looked into reimplementing `codesign` in Rust while I was at Mozilla. We wanted to see if we could take Apple hardware out of the loop for our release process after we had switched Mac Firefox builds to cross-compile from Linux. I got a bunch of code written and I'm pretty sure I could have made it work if I had gotten the go-ahead to spend time on it but then we heard about notarization and decided it wasn't worth the effort since Apple was going to require us to use their service anyway.
[ Parent
| on HN ]
Re:Show HN: Xcnotary – a Mac app notarization helper made wi...
by davidvartan on Tuesday March 31, 2020 @08:54PM
(#22744544)
That sounds like a fun project! I do hope Apple shows more love to the command line tooling in general (even if Mac-only) as the workflow still seems somewhat optimized for clicking one-by-one in Xcode.
Re:Show HN: Xcnotary – a Mac app notarization helper made wi...
by detaro on Sunday April 05, 2020 @10:52AM
(#22785888)
> after we had switched Mac Firefox builds to cross-compile from Linux
Do you happen to have a link with more details about how that's done?
Re:Show HN: Xcnotary – a Mac app notarization helper made wi...
by tedmielczarek on Tuesday April 14, 2020 @07:35PM
(#22872755)
It's not really written down anywhere but you can see the gory history of how we got it together in bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=921040
We used the MacOSX SDK from Xcode, packaged up into our internal file store for build machines to use and passed a bunch of compiler options that clang sets by default when you're compiling on macOS: https://searchfox.org/mozilla-central/rev/72e3388f74458d369a...
Getting DMG creation working was a bit of a hassle but we managed to get it done with some dmg/hfsplus tools from the iPhone jailbreak scene.