Comment on Swift 6 actor error in didReceiveRemoteNotification of UIApplicationDelegate It solved my problem. Thanks a lot! UI Frameworks UIKit Oct ’24