I am having the same problem. I noticed that this happens on an Xcode project that has been recently created after iOS 14.6 update.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: