Here’s a step-by-step guide to downloading a version of Xcode that works on macOS High Sierra 10.13.6.
Download both files. The .xip file is the main Xcode application. The CLI tools are necessary for Git, compilers, and building from the terminal.
Never download from unknown torrents or random file hosts — risk of malware.
If you want, I can provide direct search terms to find the Xcode 10.1 download page.
He clicked “Install.” He entered his password. The Terminal window flashed. Clang. LLDB. The iOS 12.1 simulators. One by one, the tools of a forgotten era clicked into place.
Click → About This Mac.
Confirm macOS High Sierra version 10.13.6.
If you’re on an earlier 10.13.x, update first via the App Store → Updates.