Ok, i was doing some work with Mac Ports on an old 10.7.5 machine (9 year old iMac still works great). I realized that i needed an Xcode install for 10.7.5. Help Xcode 9.1 / 9.2 DMG File Hi Everyone, i'm running on a Macbook air 10.12.6 and i need these lower version xcode dmgs as the latest versions require 9.3. Could anyone upload it to google drive or dropbox and send me a link with the dmg?

Question or issue on macOS:

  1. Apple Xcode 9.4.1 Build 9Q1019a Stable for macOS 10.13.2 and later. Xcode crack mac xcode detect iap cracker xcode download xcode download dmg xcode download for. Jun 13, 2018 This document describes the security content of Xcode 9.4.1. About Apple security updates.
  2. Admin March 20, 2017 July 9, 2021 1 Comment on Download Xcode: Download Xcode 13/12/11/10 xip Download links for Xcode 10.1, Xcode 10, Xcode 9, Xcode 8, XCode 7, XCode 6 are given below. The list is organized in newest first and a developer account login will be required.
  3. The current version of Xcode can be accessed either through the App store, or the Xcode downloads page. Apr 22, 2018 Help Xcode 9.1 / 9.2 DMG File Hi Everyone, i'm running on a Macbook air 10.12.6 and i need these lower version xcode dmgs as the latest versions require 9.3.

I am trying to download Xcode from the Apple Developer site using just wget or curl. I think I am successfully storing the cookie I need to download the .dmg file, but I am not completely sure.

When I run this command:

A file called cookies.txt is created and contains something like this:

I’m not completely certain, but I think there should be more to it than that (specifically, an alphanumeric string after sessionToken).

When I try to do the same thing with curl using this:

I get a file called xcode-cookie that contains the same information as the cookies.txt file wget gives me, except that the lines are reversed.

I then tried to download the .dmg file.

Using wget:

This gives me a file called login?appIdKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&path=%2F%2Fios%2Fdownload.action?path=%2Fios%2Fios_sdk_4.1__final%2Fxcode_3.2.4_and_ios_sdk_4.1.dmg
, which is just an HTML page containing the login form for the developer site.

Using curl:

Which prints basically the same thing as wget (minus the HTML).

I want to say it has to do with the sessionToken not being in the cookie, but like I said before I am not sure. I even tried exporting the cookies from my browser and following the instructions in the blog post I linked below and several other sites I found while searching for help.

I must be doing something wrong, unless Apple has changed something since Oct. 10 because this guy seems to be to do something right.

Thanks in advance!

How to solve this problem?

Solution no. 1:

For Chrome,

  1. Install cookies.txt Chrome extension
  2. Login to Apple Developer site and get the url for downloading
  3. Run cookies.txt extension and download cookies.txt file
  4. From the cookies.txt download directory, load cookies into wget and start resumable download. For example, to download Xcode_7.dmg, you would run:

    wget –load-cookies=cookies.txt -c http://adcdownload.apple.com/Developer_Tools/Xcode_7/Xcode_7.dmg

Solution no. 2:

Maybe this is the easiest way to use curl:

  • open Google Chrome.app;
  • goto site developer.apple.com;
  • press CMD+SHIFT+J or click top-right Menuicon -> Tools -> Developer Tools;
  • click Network panel;
  • now click Xcode download link at apple.com;
  • you will see one or more request records in the Network panel;
  • right click the latest record, then click Copy as cURL;

Now, you got the curl command for this download link with cookies and other http-requeset-fields, just paste to your terminal and add -o xxx.dmg at the end.

Solution no. 3:

Here is a script that uses curl instead of wget, so it will work on a stock Mac.
All you need to set is the path to the xcode DMG file.
The script will ask you for your username and password and
it will figure out the ACTION and WOSID values for you.

Solution no. 4:

I’ve just been down the same road after failing repeatedly to download the latest version of Xcode directly to my Mac dev machine. I also couldn’t get Daniel’s approach to work exactly as written.

This is what did work for me:

  1. Used Firefox to log in to the iOS dev center

  2. Used Cookie Exporter 1.5 to save the cookies to a text file, say “cookies.txt”

  3. FTP’d cookies.txt to a staging server of mine that has a nice fat pipe onto the Internet

  4. Used wget from the staging server to download the file (about 5 minutes)

  5. Used FTP to transfer the DMG file back to my dev machine (about 2 hours)

Xcode 9.1 Dmg

Here is the wget command line:

The trick here is to NOT use the download link from the page, but rather to start the download then use the context menu in the download list to “Copy Download Link”.

Solution no. 5:

Not optimal but works for me:

If you know direct URL for download (e.g. you started download) then you can log-in on developer portal and run the following JS in console:

This will copy wget command in clipboard with all necessary cookies for wget to work. You can restart this command anytime to continue.

Solution no. 6:

So I’ve seemed to figure out the answer to my own question. Here’s how you can download Xcode using curl.

First, run this:

Open the login.html file that’s created and look for these 2 things:

  • The action attribute of the login form. It should be on/around line 54.
  • The input field named wosid. This should be on/around line 129.

Copy the value of the action attribute as well as the value of the value attribute of the input field. You’ll need these for the next step.

Here’s the next curl command:

  • Replace {ACTION} with the action value you saved
  • Replace {USERNAME} and {PASSWORD} with your Apple Dev Center credentials
  • Replace {WOSID} with the wosid value you saved
  • Run the command

Xcode 9.1 Dmg Free

You should now have the cookie that will allow you to download the .dmg file. If you haven’t noticed by now, the cookie is stored in a file called cookies.

Now just run this last curl command and the Xcode image should begin downloading:

I’ve tried this on 2 different machines and works on both.

Solution no. 7:

Here’s a little bash script to wget Xcode :

Comments are the same as for joe’s Solution – Thnx Joe ;o)
The good idea is to start the traffic analysis from the download url of Xcode.

Solution no. 8:

The answer by @petert used to work for me in the past, but now it shows the error 403 (Forbidden).

Xcode 9.1 Dmg File

I ended up using the app Downloader-for-Apple-Developers, which is open source and has a graphic interface, to login to the Apple’s developer website and download the Xcode .xip file.

Xcode 9.1 Dmg Converter

This is how the graphical interface looks like:
The lates version can be downloaded from here:
https://github.com/vineetchoudhary/Downloader-for-Apple-Developers/releases

Xcode 9.1 Dmg Free

Hope this helps!