Reply to "Not enough free space" when trying to install XCode even though there's ~7x more free space than required solved it by removing xcode projects cache and build indexes from Storage Management - Developer. Developer Tools & Services Xcode Apr ’21