Categories
Development

Reclaiming Some CPU Cycles From Apple

There I was, on a cloudy Saturday, working on a command-line tool for fun and no profit. As I went through the compile and run cycles, I became more and more frustrated at the time it took to run the newly compiled binary. This issue is also described in a post I ran into some time ago, which goes into the pains inflicted by Apple’s notarization “feature”.

Anyway, I could no longer take it. That second it took to actually start executing my binary, felt like an eternity. The solution? Open System Preferences, then go into Security & Privacy, switch to the Privacy tab, and then scroll down the list until you find Developer Tools. Add Terminal to the list of allowed apps, or toggle its checkbox if it’s already there, and voilĂ ! No more delays!