Topic
Terminal
All articles collected around this topic.
xcrun: invalid active developer path after a macOS update (missing xcrun)
When git, clang, or xcrun on a Mac prints invalid active developer path and missing xcrun, the active developer directory does not contain that tool. Print the path with xcode-select --print-path, then install or update Command Line Tools with the official xcode-select --install. Do not start by deleting the directory.
Operation not permitted in Terminal on Mac: check Privacy settings before chmod
When ls of Downloads, Desktop, or Documents in Terminal on a Mac prints Operation not permitted, the cause is often app privacy access, not a POSIX mode that chmod can fix. Grant Files and Folders or Full Disk Access to the terminal app you are actually using. sudo does not add that app to the list.