Post

Replies

Boosts

Views

Activity

"Updating took more than 5 seconds" error when swiftui color scheme is different from system setting.
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?
1
0
929
Oct ’22