After updating my macbook to ventura,
When changing the color scheme using the swiftui view modifier preferredColorScheme
,
If it is different from the system setting, an "Updating took more than 5 seconds" error occurs.
PreviewUpdateTimedOutError: Updating took more than 5 seconds
Updating a preview from in ******.app (6003) took more than 5 seconds.
(I deleted the app name)
The current fix is to not use the preferredColorScheme
method.
Does anyone have the same error as me?