I did delete the app from simulator iOS 15.2 or later and reset the simulator and run the app again works. This is working in m1 MacBook with Xcode 13.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: