Created
July 30, 2018 13:33
-
-
Save steverichey/47b3f7c38d8f329b0364c759a8cefbe7 to your computer and use it in GitHub Desktop.
In theory, allows the iOS simulator to bypass the firewall. May no longer be needed, or it works so well I no longer get the dialog prompt.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# requires sudo | |
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off | |
/usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator | |
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment