<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"></div><div class="gmail_quote">I attempted to send this a month ago, but the list mail server rejected it, and I didn't get around to sending it again from a different source.  I'd be interested to know if any of this helps.<div><br></div><div> ----</div><div><br></div><div><div>Some googling and brief experimentation has lead me to believe</div><div>that this behavior is related to the code signature (or the lack</div><div>thereof) on the application.  Specifically, I observed the</div><div>following three data points:</div><div><br></div><div>The current released version of Aquamacs, which is signed, does</div><div>not exhibit this behavior.</div><div><br></div><div>A nightly that I happened to have lying around (2018-02-23), which</div><div>is not signed, does exhibit the slow "open" command behavior.</div><div><br></div><div>However, if that same nightly is opened by running its binary</div><div>directly rather than opening it as normal (i.e., running</div><div>$  ~/Desktop/Aquamacs\ 2018-02-23\ nightly.app/Contents/MacOS/Aquamacs</div><div>rather than double-clicking its icon), everything is speedy again.</div></div><div><br></div><div><div>So my hypothesis is that if you either a) sign the app bundle that you</div><div>built, or b) launch it by running the binary from the terminal rather</div><div>than opening the app bundle, then you will get your speedy "open"</div><div>behavior back.</div><div><br></div><div><br></div><div>If anyone wants to go down the rabbit hole of trying to figure out</div><div>why it works this way, here are a couple of search terms and links that</div><div>might be of interest:  Mojave TCC, Attribution Chain</div><div><a href="https://github.com/macvim-dev/macvim/issues/763">https://github.com/macvim-dev/macvim/issues/763</a></div><div><a href="https://eclecticlight.co/2019/02/01/solving-problems-with-mojaves-privacy-protection/">https://eclecticlight.co/2019/02/01/solving-problems-with-mojaves-privacy-protection/</a> (the most interesting bits are in the comment thread)</div></div><div><br></div></div></div></div></div>