Updated Downloading and installing xcode headless scriptless (markdown)

_Qubarf 2022-09-17 10:20:42 +08:00
parent 2c76410a54
commit 539ebc0f85

@ -5,8 +5,10 @@ I was using the pre-setup Catalina docker, so I chose [this version](https://dev
2. Now if it asks you to sign in, do so and accept the terms and conditions 2. Now if it asks you to sign in, do so and accept the terms and conditions
3. Now click the download button and then: 3. Now click the download button and then:
- Either download the xip file onto your host OS and transfer via sFTP or other means - Either download the xip file onto your host OS and transfer via sFTP or other means
<br> <be>
1. Alternatively, at this point the page should switch to buffering logo and remain stuck there. Use a cookie view (I used the chrome extension `EditThisCookie`) and copy the value for `ADCDownloadAuth`.<br>
1. Alternatively, at this point the page should switch to buffering logo and remain stuck there. Use a cookie view (I used the chrome extension `EditThisCookie`) and copy the value for `ADCDownloadAuth`.
2. On your guest machine make a file called `cookies.txt` and add the cookie in the form ```.apple.com TRUE / FALSE 1679146596 ADCDownloadAuth [cookie value]``` 2. On your guest machine make a file called `cookies.txt` and add the cookie in the form ```.apple.com TRUE / FALSE 1679146596 ADCDownloadAuth [cookie value]```
3. I assume you have homebrew installed, download wget and use the command `wget --load-cookies cookies.txt [xip download link]` - ~10gb Xcode.xip should download 3. I assume you have homebrew installed, download wget and use the command `wget --load-cookies cookies.txt [xip download link]` - ~10gb Xcode.xip should download
@ -20,4 +22,4 @@ I was using the pre-setup Catalina docker, so I chose [this version](https://dev
`sudo xcodebuild -license accept` `sudo xcodebuild -license accept`
`sudo xcodebuild -runFirstLaunch` `sudo xcodebuild -runFirstLaunch` (took ~10 minutes for me)