It's due to the fact that the app template sets Target Deployment to iOS 14. To solve it, select the app target and select iOS15 in Deployment Info section.
Topic:
Community
SubTopic:
Apple Developers
Tags: