Xcode Deleting Remaining Files
Monterey Operating System
Hi, I uninstalled Xcode because I didn't need it anymore. Unfortunately, it left a ton of files and immediately after the uninstall I started getting a system update little red flag on my system update notices. I turned off automatic updates as I really don't want to download Xcode again. I went in and deleted a ton of the files that were left manually. I really hate not having automatic updates on. But, these are left:
/System/Library/Automator/Build Xcode Project.action
/usr/share/man/man1/xcode-select.1
/usr/share/zsh/5.8.1/functions/_xcode-select
/System/Library/CoreServices/Xcode Previews.app
/System/Library/LifecyclePolicy/DomainAttributes/com.apple.xcodepreviews.plist
/System/Library/LaunchAgents/com.apple.dt.xcodepreviewsapp.plist
/usr/bin/xcode-select
I have tried deleting them from Terminal in Restore mode, I have tried turning off CSRUTIL and deleting them in restore mode, I am getting close to wiping the disk and starting from scratch to get rid of these things. Even with rm -rf and csrutil disabled, they return system read only file when I try to delete them. Can anyone here give me a step by step on how to delete these last 7 files that Apple just refuses to allow me to delete? I would appreciate any help as I am sure that my pesky system update is based on one of these.