Found the solution!
I'm using Xcode 13.3.1, follow the instructions below:
Go to your-target -> Edit Scheme (next to the picker of your devices).
Then go to Run -> Arguments.
Inside Environment Variables, add Name OS_ACTIVITY_MODE and Value disable.
Close the window and rebuild your target!
Hopefully can help!
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: