I´m trying to get the new Canvas feature from Xcode 11 running, but the Canvas won´t show up. What am I doing wrong?
I just created a new default project (single view app), compiled it and activated 'Editor > Editor and Canvas'. I can navigate to each file in the project, nothing shows up.
What else does need to be done?
This could be the effect if you upgraded Xcode to a higher beta version and got the following error message during the process:
The solution seems to be to upgrade the Catalina beta version to the same level. Here's the link to Apple's Beta Software Downloads.
Update Mac OS version 10.15 or upper version. Update Xcode 11 or upper version. After that click Editor > Canvas for code preview.
Bonus: If you would like to see code preview left side, you can change layout from Menu Icon > Layout > Canvas Right. (I shared screenshot)
@canerkaseler
To further add to the other answer, as per the official tutorial from Apple:
Unfortunate that I can't run it right now since the beta was just released and I don't have a spare Mac!
you have to install macOS at least version (10.15 or above)
The preview only works on MacOS 10.15 Beta
You need to tap on Editor and Canvas Option in Xcode 11.0-Beta, alternatively you can tap on Editor -> Editor and Canvas from top options
Attached screenshots for refrence.