Xcode 12.4
macOS Catalina 10.15.7
Every time I try to use SwfitUI previews it fails with the following message:
FailedToConnectToDTServiceHubError: Cannot connect to iPhone 12
Diagnostics:
FailedToConnectToDTServiceHubError: Cannot connect to iPhone 12
Try disconnecting and reconnecting the device.
iPhone 12 {}
I've tried: Deleting Derived Data
Choosing other simulators
Running iOS 13 SDK using Xcode 11 (latest version)
Changing SDK to previous version
Creating a completely new SwiftUI project
Deleting all simulators and reinstalling them through Xcode
Resetting the currently opened simulator with Device - Erase all Content and settings
None of the above worked.
Any advice? Thanks.