Just ran into this as well running XCode 13.4.1, testing with device running iOS 15.5. The problem turned out to be swizzling of the AppDelegate methods (by multiple libraries). If you're running into this, do a search for didRegisterForRemoteNotificationsWithDeviceToken across your dependencies and look for any places where swizzling is taking place.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: