When we create a new SwiftUI project in Xcode then it doesn't include the AppDelegate which we need for push notification device token. Here is guide to implement push notification in SwiftUI Application -
https://developerinsider.co/implement-push-notifications-in-swiftui-application/