Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidvartan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
davidvartan
6y ago
I can repro this locally as well. Interesting if it's inconsistent with Apple docs and when Gatekeeper should be firing, as running stuff locally without distributing/downloading is somewhat out of scope for notarization. Reached
2.
▲
by
davidvartan
6y ago
The Gatekeeper behavior is specific to running things from Finder (not Terminal), and only if you downloaded it via a browser that sets the com.apple.quarantine xattr. Two posts from Apple dev support (Cmd+F "eskimo") describe thi
3.
▲
by
davidvartan
6y ago
Notarization/stapling/etc. is for distribution only, not generally part of your dev workflow.
4.
▲
by
davidvartan
6y ago
Re: downloading Xcode, this page has saved me hours: https://stackoverflow.com/questions/10335747/how-to-download... . It's just a list of direct links to each version of Xcode at apple.com. Mystery why Mac Ap
5.
▲
by
davidvartan
6y ago
> a degraded user experience, as the first time a user runs a new executable, Apple delays execution while waiting for a reply from their server. The way to avoid this behavior is to staple the notarization ticket to your bundle (or dmg&
6.
▲
by
davidvartan
6y ago
Shameless plug: I created xcnotary [1] to make command line notarization quite a bit less painful. It will poll the service and block for completion, return a non-zero failure code for CI, and will even audit your app for some common code s
7.
▲
by
davidvartan
7y ago
Thank you!
8.
▲
by
davidvartan
7y ago
asciinema to generate a raw json file, then svg-term to convert it to svg https://github.com/asciinema/asciinema https://github.com/marionebl/svg-term-cli (I ended up moving the SVG assets to GitH
9.
▲
by
davidvartan
7y ago
It was surprising that they didn't provide an all-in-one blocking command, leaving everyone to write their own version of the submit(); while(true) { poll(); }. I will need to add support for .pkg to cover more use cases. (Right now th
10.
▲
by
davidvartan
7y ago
The notarization service is opaque (uses Xcode's "xcrun altool" to submit/read status, instead of something like a REST API...) so unfortunately Mac-only at the moment.
11.
▲
by
davidvartan
7y ago
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.
12.
▲
by
davidvartan
7y ago
Thanks for the heads up! May I ask what browser you are using? If there are compatibility issues I may just re-render these as GIFs.
13.
▲
by
davidvartan
7y ago
(The author.) I had originally written a version of this in Python for my own use, and recently thought of rewriting it in Rust as a learning experience. What I found is that writing a CLI in Rust is a absolute breeze, in part due to excell
14.
▲
Show HN: Xcnotary – a Mac app notarization helper made with Rust
(github.com)
125 points
by
davidvartan
7y ago
|
29 comments