Is there a way to write to files in SwiftUI Previews?
For example, the following will crash in Xcode:
struct