41

I'm a software developer and as such I build and run programs hundreds of times per day. I've noticed that since I started using Catalina, after compiling and linking there is a delay (which can be seconds) when the internet is slow or having problems (I have bad internet often). If I disable wifi and rebuild, the delay goes away.

How can I disable this so my builds run faster?

2

2 Answers 2

43

Yes, as a security measure, macOS Catalina sends some small info (can be seen by packet size) about unsigned executables to the Apple servers.

A simple C program as illustrated in ..

.. can demonstrate the lag in startup on poor internet connection conditions.

The article has detailed observations, tests and commentary on the process.

You can block the syspolicyd process from connecting to the internet, and it won't hinder its normal functioning locally, using a firewall.

I use LuLu, since it's free. A lot of people use Little Snitch.

Many other apps also ping their servers on startup or quitting: Firefox, Adobe, Sublime Text etc.

Other threads:

0
2

Use an Application Firewall to control what app on your mac connects to the internet.

Lulu is free and opensource. Radiosilence and TripMode are two other very affordable alternative app firewalls that are simpler to use than Lulu. Little Snitch and HandsOff are more advanced with more features (and hence costlier).

If you like controlling what apps connect to the internet on your mac,think carefully before upgrading to macOS Big Sur. Apple has crippled application firewalls on macOS Big Sur, to specifically allow all Apple authorised software to bypass application firewalls and some VPNs, and connect to the internet whenever it wants even if you have blocked them on your firewall.

Update: Apple claimed that the issue with macOS Big Sur was a bug and it has been fixed now.

5
  • 1
    It's worth noting that Apple has promised to implement options to disable the feature 'within the year' on Big Sur. For the time being, you could just disable gatekeeper altogether.
    – benwiggy
    Dec 28, 2020 at 9:46
  • @benwiggy What feature has Apple promised to disable? And can you provide a source?
    – sfxedit
    Dec 28, 2020 at 19:05
  • 2
    See the last section on this Support Page: support.apple.com/en-us/HT202491
    – benwiggy
    Dec 29, 2020 at 10:05
  • Thanks for the source. I see they've promised to provide an option to disable it next year. But still, there is nothing to celebrate here as after Apple's subversion of macOS Big Sur that prevents the blocking of some Apple apps it's all redundant - that's the major thing they need to fix to regain trust again.
    – sfxedit
    Dec 29, 2020 at 10:27
  • 1
    Change is gonna come :-) apple.slashdot.org/story/21/01/14/141248/…
    – nohillside
    Jan 14, 2021 at 14:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .