Skip to content

Instantly share code, notes, and snippets.

@raven
Created September 23, 2022 12:24
Show Gist options
  • Save raven/d7f3aa56cf0ef820d20ad4061cd62ff0 to your computer and use it in GitHub Desktop.
Save raven/d7f3aa56cf0ef820d20ad4061cd62ff0 to your computer and use it in GitHub Desktop.
Download Xcode without Apple ID
# Fetch ADCDownloadAuth cookie
curl --cookie-jar cookie_file 'https://developerservices2.apple.com/services/download?path=%2FDeveloper_Tools%2FXcode_14%2FXcode_14.xip'
# Download Xcode using fetched ADCDownloadAuth cookie
curl --cookie cookie_file --remote-name 'https://download.developer.apple.com/Developer_Tools/Xcode_14/Xcode_14.xip'
@raven
Copy link
Author

raven commented Sep 24, 2022

@burdges
Copy link

burdges commented Feb 22, 2025

Appears broken. I maybe tweaked this for Xcode 15 but not sure anymore.

@raven
Copy link
Author

raven commented Feb 22, 2025

Unfortunately this avenue was closed by Apple

@jj10133
Copy link

jj10133 commented Apr 24, 2025

I tried out with xcode 16.2 it was working atm not really trying to get 16.3

@jj10133
Copy link

jj10133 commented Apr 24, 2025

It's work for xcode 16.0

@maatthc
Copy link

maatthc commented Apr 26, 2025

Working with v16:

curl --cookie-jar cookie_file 'https://developerservices2.apple.com/services/download?path=%2FDeveloper_Tools%2FXcode_16%2FXcode_16.xip'

curl --cookie cookie_file --remote-name 'https://download.developer.apple.com/Developer_Tools/Xcode_16/Xcode_16.xip'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment