Temporarily disable macOS System Integrity Protection (SIP)
When debugging a problem, it can become necessary to temporarily disable System Integrity Protection (SIP):
- Click the menu.
- Select Restart...
- Hold down command-R to boot into the Recovery System.
- Click the Utilities menu and select Terminal.
- Type csrutil disable and press return.
- Close the Terminal app.
- Click the menu and select Restart....
Once debugging is finished, please re-enable SIP. To re-enable repeat steps above and replace ´csrutil disable´ to ´csrutil enable´ instead.
You can check your current state in Terminal by entering ´csrutil status´.