Where can I download Xcode 10 from as I am facing some problems with Xcode 11?
You can download it from Apple's developer site here:

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

Just search for "xcode 10" and you'll be able to download any version of Xcode 10.

Another option would be this third party site that has a nice overview of all the release versions:

https://xcodereleases.com

The download links still go directly to Apple's site.