1

func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) 在 AppDelegate 中使用时,Sourcekitservice 和 swift
在添加此方法后立即消耗大量内存(40GB 到 50Gb)、RAM 和 CPU(超过 90%)(无需构建或运行)。任何人都有同样的问题,或者可以为我解释一下。我正在使用 Xcode 11.3.1 和 macOS Mojave 10.14.6。

提前致谢。

4

0 回答 0