I got a similar issue. The error message is: Cannot preview in this file -- Cannot connect to iPhone 12 Pro Max. Clicking on the info button shows:
Try disconnecting and reconnecting the device.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: