I made new project with Siri custom intent on Xcode 11 beta 7 and add this code in AppDelegate.swift.
- application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
- }
Run app on device / simulator and go back to home screen, however application continue userActivity are not called and I got this message on debugger.
(I didn't implement codes related background task.)
Can't end BackgroundTask: no background task exists with identifier 1 (0x1), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
Has anyone else experienced this problem?