Posts

Post not yet marked as solved
4 Replies
Meanwhile I figured out the problem was due to app nap. So I tried disabling it in different ways I found on the internet: plist item "NSAppSleepDisabled" YES: no difference, app still naps [[NSProcessInfo processInfo] beginActivityWithOptions:NSActivityUserInitiatedAllowingIdleSystemSleep reason:@"Prevent app nap"]; // no difference, app still naps App nap checkbox in the app's info window in the Finder: no such box? I finally settled on disabling app nap for the whole computer via the terminal. This works, although it's not really ideal because now other apps cannot nap either, but at least I'm getting the performance I want: defaults write NSGlobalDomain NSAppSleepDisabled -bool YES If anyone can tell me how to disable it just for my app under Catalina, I would appreciate it. Thanks, Michel