Here is a sample code of how your App struct should look like:
@main
struct NewIn14App: App {
		@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
		var body: some Scene {
				WindowGroup {
						ContentView()
				}
		}
}
Taken from hackingwithswift.com
Post
Replies
Boosts
Views
Activity
Update: Looks like this issue is happening in Debug builds only, permission is showing as expected in AdHoc and Release builds
FB8335313