What is the correct version of xcode for mojave 10.14.4

Solution 1:

  • https://en.wikipedia.org/wiki/Xcode#Xcode_11.x_(since_SwiftUI_framework)

For macOS 10.14.4, Xcode versions compatible are: Xcode 10.2 - 11.3.1.

Xcode 11.4 onwards requires macOS Catalina, 10.15.2

With a free Apple Developer account, one can download older versions of Xcode (all the way back to Xcode 2.3 as well as new as 11.5 at https://developer.apple.com/download/more/

Also a nice catalogue: https://xcodereleases.com/