Preview crash

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

Answered by Developer Tools Engineer in 826384022

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.

Accepted Answer

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…

Preview crash
 
 
Q