Can't find compatible version of xCode from App Store!

I previously downloaded Xcode from the Mac App Store but I recenlty had to Restore my installation of MacOS. This deleted Xcode from my install. I went to the App Store to re-download a compatible version. I see the icon showing that it's been downloaded before, cloud with a arrow facing down. When I click on that I get a message: We could not complete your purchase. Xcode can't be installed on "iMac" because macOS version 10.15.2 or later is required."

First, why doesn't it just download a compatible version?

Second, it shows that it's Compatible with the computer on the App Store page for this App.

Third, looking in my purchase history the version that is compatible doesn't show up as ever being downloaded.


So I search on the Developer site for an older but compatible version. Nowhere, in any of the version notes, does it say which version is compatible with Mojave!


Am I missing something or is it supposed to be this difficult to re-install Xcode after doing a Restore?


Appreciate any help.

Accepted Reply

What is your MacOS version ? I understand Mojave 10.14.x.

Version 11.3.1 (11C504) is compatible with it.


Have a look here to see who's compatible with who.

h ttps://xcodereleases.com

You can download here as well (developers site):

https://developer.apple.com/download/more/

Replies

What is your MacOS version ? I understand Mojave 10.14.x.

Version 11.3.1 (11C504) is compatible with it.


Have a look here to see who's compatible with who.

h ttps://xcodereleases.com

You can download here as well (developers site):

https://developer.apple.com/download/more/

Thanks Claude31. That is exactly where I looked. I don't see "Mojave Compatible" listed anywhere. I just see "Catalina" in the notes for all 11.x.x versions.


Edit: Thanks for the other link, https://xcodereleases.com. That site listed the correct version.


Ludicrous that we have to use a 3rd party site for this!