I have Catalina macOS version (10.15) installed and still the canvas is not showing up.
The error message I get from Xcode is
Select a scheme that builds a target which contains the current file, or add this file to a target that is built by the current scheme