I'm seeing a lot of previews crashing, mainly due to missing environmentObject injection (for example AppView is missing UIState and NetworkView is missing Preferences - this was pointed out by the crash logs at ~/Library/Logs/DiagnosticReports and verified by manually adding the objects at the respective previews).
I guess this is due to the assumption that injection happens at AppDelegate (?) and thus "inherited" (by silently launching the app) by every preview or this assumption should be valid and this is something that is failing due to my system setup (latest production version of Xcode)? Is anyone else having these problems?
I'm seeing a lot of previews crashing, mainly due to missing
environmentObject
injection (for example AppView is missingUIState
and NetworkView is missingPreferences
- this was pointed out by the crash logs at~/Library/Logs/DiagnosticReports
and verified by manually adding the objects at the respective previews).I guess this is due to the assumption that injection happens at AppDelegate (?) and thus "inherited" (by silently launching the app) by every preview or this assumption should be valid and this is something that is failing due to my system setup (latest production version of Xcode)? Is anyone else having these problems?