Safe and clean Xcode uninstaller with logging, prompts, and error handling.
This script removes Xcode and related files from macOS safely.
It provides confirmations, dry-run mode, process handling, logging, and receipt cleanup via pkgutil.
Clone the repo and make the script executable:
chmod +x script.sh