I found a solution in this article very helpful. There are a couple of commands one can execute to fix the problem for both SwiftUI preview and regular simulators.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: