Repository navigation
Community Development
Brandon Dalton edited this page Nov 10, 2026
·
5 revisions
- The following guide can be used to develop Mac Monitor without my (Swiftly Detecting) signing certificates.
- The
Communitybuild configuration adhoc signs everything. This means the resulting app can only run in a VM with SIP disabled and AMFI relaxed. Therefore, never distribute a community build.
- Xcode 26 or newer.
- A macOS 13.1+ VM on Apple silicon.
- Boot the VM to recoveryOS and disable SIP:
csrutil disable - Relax AMFI so
es_new_clienthonors an entitlement with no profile behind it:sudo nvram boot-args="amfi_get_out_of_my_way=1" - Reboot and confirm:
csrutil status; nvram boot-args
- Expected:
System Integrity Protection status: disabledandboot-args amfi_get_out_of_my_way=1.
- Turn on System Extension developer mode. This lets the app activate the extension outside
/Applications:systemextensionsctl developer on
ProjectSutro/Scripts/community-build.shThis builds the Community configuration, adhoc signs the app, the extension, the macmonitor command line tool, and both embedded framework copies (with entitlements), and zips the app to ProjectSutro/build/MacMonitor-community.zip.
- In Xcode, use the shared scheme ProjectSutro (Community). ⌘R works on your host for basic UI work (note the System Extension will not activate there).
- For full development testing with the System Extension use the above
community-build.shscript.
- If a release version of Mac Monitor is installed in the VM, uninstall it and then reboot. You can delete the app from Finder (and select to remove the System Extension) or use the below command:
sudo systemextensionsctl uninstall 4HMJQ7V3SX com.swiftlydetecting.agent.securityextension && sudo rm -rf "/Applications/Mac Monitor.app"- Copy
MacMonitor-community.zipto the VM and extract. With developer mode on, any location works otherwise the app must be in/Applications:
sudo ditto -x -k MacMonitor-community.zip /Applications/- Give the app to root. The zip records your user as the owner of every file, and the
macmonitortool inside it runs as root:
sudo chown -R root:wheel "/Applications/Mac Monitor.app"- Open the app and click Allow for the extension in System Settings.
- Optionally, stream from the VM's terminal. You can also link the tool with Settings > Command Line > Install... and run
sudo macmonitor stream:
sudo "/Applications/Mac Monitor.app/Contents/MacOS/macmonitor" stream