Using XCode 12.1 and I just created a SwiftUI app and clicked on Resume in Canvas to see Hello world Preview. Tried many ways but no luck.
Cannot preview in this file. — failed to update preview.
Try updating Xcode, this should fix your issue.