I am unable to "View as: " iPhone X, iPhone XS, iPhone XR in Xcode

Yes that it correct.

The iPhone X, XS and XR size classes are catered for with the devices that are selectable.

Have a look at the Apple Human Interface Guidelines here and you can scroll down to where the size classes are listed so that you can find the equivalent device for the size class that you want.