SwiftUI Canvas will not display preview

I am using MacOS Catalina 10.15.3 on a late 2013 iMac with 8GB RAM. I am running XCode 11.3.1.

When I try and run the Landmark tutorial, just the elementary "Hello World" screen, the build succeeds and the canvas collapses and the preview is not displayed. When I open the canvas and click on resume, the same thing happens again. I cannot get the preview to display.

What am I doing wrong?


I think the issue is regarding Xcode settings. A similar question is asked in StackOverflow. You can have a look.