Prevent osx popup warning when starting

Hey there,

This is less a crystal, but more of a osx question, so feel free to ignore.

When running code under osx via crystal run and there is networking involved, I get this wonderful popup. Is there any way to make it vanish permanently without changing the firewall settings, I find it pretty annoying. If I understand osx settings correctly, one could configure single binaries to be always allowed, but crystal run seems to run some temporary files.


Thanks for any help!


If you want to use crystal run I think you will need to disable the firewall :frowning:

I am not sure even if $ crystal build ... -o myapp && ./myapp will work since the binary will change after every build. That depends if the firewall permission depends on path only or on some hash of the binary.

A third alternative might be to go into the signing story: