I am following the SwiftUI Tutorial from developer.apple.com site and when I try to preview some files that I created in th project it shows me an error message "Failed to build LandmarkList.swift" followed by an info icon saying "Compiling failed: no type named "LandmarkList_Previews" in module Landmarks". When I hit Try again button it keeps not showing and just giving the same error message.
I have already:
- deleted the Xcode 10 version that I had installed.
-closed and openned Xcode 11 beta
Im running on MacOS Catalina Beta version 10.15.
Somebody please