chrono

This is a list of all updates made to posts in reverse chronological order, including the initial post and its additions and edits since. If you only want to see entire posts, you should visit posts.


Stop "Allow Incoming Connections?" Popups When Developing on macOS

  • macos
  • tip
  • development
  • meta

These days, I'm back to developing almost entirely on macOS. When I was working on the implementation of this site, it was starting to get quite grating that every time I ran cargo run, macOS would pop up a window that says "Allow Incoming Connections?". I had to click "Allow" every single time I changed the code and re-ran it.

In general, I know why this happens: the firewall is enabled, and Cargo doesn't sign executables, so every time I produced a new executable, it was nEw AnD sCaRy. Adding the executable to the list of trusted apps doesn't help for exactly that reason (in fact, that's all that clicking "Allow" does). The problem is, I want the firewall to be enabled.