Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not install XCode on Mojave

I am running MacOS 10.14.6 and would like to install XCode into the /Applications folder.

Trying to download it using the Appstore, I get the error message "Xcode can't be installed because macOS 10.15.2 or later is required".

Hence, I downloaded from https://developer.apple.com/download/more/ the file "Xcode 11.4.xip".

Following this advice, I installed the xip file simply by opening it (Webbrowser -> Downloads -> Open File). This seemed to do something; at least a progress windows told me that the file is being extracted.

However, I don't get any prompt which would offer me a place on where to store the file, but I ended up with a directory ~/Downloads/Xcode.app. Therefore, was doing a

mv ~/Downloads/Xcode.app /Applications

Now to test XCode, I went (using the Finder) to /Applications, located XCode.app and doubleclicked it. I got the error message "You have macOS 10.14.6. The application requires macOS 10.15.2 or later".

What can I do to get XCode for my Mac?

like image 765
user1934428 Avatar asked Apr 05 '20 17:04

user1934428


People also ask

Can I download Xcode on macOS Mojave?

Xcode is an Integrated Development Environment (IDE) developed by Apple and the vast majority of iOS developers rely on it for making iPhone or iPad applications. Xcode 11 can only be installed on a Mac running macOS 10.14. 4 (Mojave) or above.

Which version of Xcode is compatible with Mojave 10.14 6?

The macOS 10.14. 6 SDK provides support for developing apps for Macs running macOS Mojave 10.14. 6. The SDK comes bundled with Xcode 10.3 available from the Mac App Store.

Why can't I get Xcode on my Mac?

Xcode only runs on a mac. If you are on a PC, sadly you won't be able to use Xcode. You'll need a good, stable internet connection. The latest version is around 8 gigabytes in size.

What version of Xcode do I need for Mojave?

Overview. The macOS 10.14 SDK provides support for developing apps for Macs running macOS Mojave. The SDK comes bundled with Xcode 10 available from the Mac App Store.


1 Answers

The error is right, Xcode 11.4 doesn't run on Mojave.

Download Xcode 11.3.1

like image 196
vadian Avatar answered Sep 18 '22 01:09

vadian