title: Can not install XCode on Mojave
body: <p>I am running MacOS 10.14.6 and would like to install XCode into the /Applications folder.</p>
  
  <p>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".</p>
  
  <p>Hence, I downloaded from <a href="https://developer.apple.com/download/more/" rel="noreferrer">https://developer.apple.com/download/more/</a> the file "Xcode 11.4.xip".</p>
  
  <p>Following <a href="https://stackoverflow.com/questions/43663097/how-to-install-xcode-from-xip-file">this</a> 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. </p>
  
  <p>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 <code>~/Downloads/Xcode.app</code>. Therefore, was doing a</p>
  
  <pre><code>mv ~/Downloads/Xcode.app /Applications
  </code></pre>
  
  <p>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". </p>
  
  <p>What can I do to get XCode for my Mac?</p>