Home/Guides/Install Xcode on a remote Mac: App Store or Apple Developer download?

Install Xcode on a remote Mac: App Store or Apple Developer download?

Updated · airankrush

What this guide covers

When you finish, the remote Mac has an Xcode that opens and can be called from Terminal. You need: a working remote desktop connection, an Apple Account (paid developer program membership is not required), and enough free disk space.

Steps

  1. First check which Xcode this Mac's macOS can run

    Each Xcode version supports only a range of macOS versions. Apple's Xcode support page has a table listing the macOS, SDKs and deployment targets each version supports. Check the system version under Apple menu > About This Mac on the remote machine, then pick an Xcode from the table.

    If the Xcode you want needs a newer macOS, do not start the system upgrade yourself. An upgrade drops the remote connection, so confirm the recovery procedure with support first.

  2. Route 1: install from the Mac App Store

    Open the App Store on the remote Mac, sign in with your Apple Account, search for Xcode and install it. The upside is convenience and updates that follow the App Store. The cost is that you only get the one currently released version, and the timing of updates is not fully in your hands.

    For a solo developer with one app who stays on the latest version, this route is enough. If the system asks whether to turn on Find My Mac while you sign in, choose not to enable it.

  3. Route 2: download from the Apple Developer site

    The "Additional tools" entry on the Xcode resources page leads to the downloads page, which has older Xcode versions, betas and the Command Line Tools. According to that page, signing in with an Apple Account is enough to view the downloads; Apple Developer Program membership is not required.

    Download in the browser on the remote Mac. Do not download locally and push the file through the remote desktop. The archive expands into an Xcode app that you drag into the Applications folder. Choose this route if you need a pinned version or several versions side by side, which is common on build machines.

  4. First launch: accept the license and install additional components

    The first time Xcode starts, it asks you to accept the license agreement and install additional components. Enter the admin password when prompted. Do this step in the graphical interface over remote desktop.

    Apple's documentation uses the command below to complete the same first-launch setup after switching to or installing an Xcode. If Terminal reports insufficient privileges, go back to the graphical interface and open Xcode once.

    xcodebuild -runFirstLaunch
  5. Add the iOS platform and simulator runtimes

    Xcode itself may not include every platform you need. Following Apple's component installation documentation, go to Components in Xcode > Settings and click Get next to the platform, or use the command line:

    xcodebuild -downloadPlatform iOS

    Install only the platforms you will really use. Each runtime takes a lot of disk space.

  6. Verify, and write down which one you installed

    In Terminal, confirm that the command line uses the Xcode you just installed:

    xcodebuild -version
    xcode-select --print-path

    Record the version in your own project documentation. This machine is reclaimed when the rental ends, and reinstalling from that record on the next machine is faster than working from memory.

  7. What is different on a remote machine

    You can disconnect the remote desktop during the download and installation. The remote Mac keeps running, and you can check progress when you come back. Do not shut down or restart to "speed it up". Download speed depends on the line and the load at the time; there is no figure we can promise.

    Xcode plus runtimes takes a lot of space. On a smaller disk configuration, work out the headroom first; see the plans page for configurations. Remember to sign out of the account you used in the App Store before the rental ends.

FAQ

Can I download Xcode without joining the paid developer program?

Yes. The App Store route needs only an Apple Account. On the developer site, Apple says signing in with an Apple Account is enough to view the downloads, with no membership required. You only need to join the Apple Developer Program to publish on the App Store.

Can the Xcode from both routes be installed at the same time?

Yes. They are just two apps in Applications; rename one of them. Once both are present, you have to say separately which one the command line uses by default. See our guide on installing and switching between multiple Xcode versions.

If I disconnect the remote desktop mid-download, does it stop?

Disconnecting the remote session does not interrupt it; the remote Mac is still running. What does interrupt a download is system sleep, a restart or a network blip. Check progress when you return and start again if it failed.

Can support preinstall Xcode for me?

Whether preinstallation is offered depends on the delivery notes. Check with Contact support before ordering. Any Apple Account sign-in can only be done by you; we will not ask for your account or password.

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All guides