I'm getting a fatal error in a preview:
fatalError in Environment+Objects.swift at line 34.
Anyone any idea how to find this file
I'm getting a fatal error in a preview:
fatalError in Environment+Objects.swift at line 34.
Anyone any idea how to find this file
Hi Easiwriter, what is the error that you are seeing? Without more information I would guess that one of the views that you are trying to preview is using a value from the environment (i.e., a property with an @Environment
attribute) and that value is not set properly for your preview.
We cannot invent line 34…