Numbers closes randomly, not crash. Operation not permitted
Recently I'm seeing my numbers app automatically closed randomly. It didn't crash. It just closes on its own, even within a very short period of time like several min.
I searched the launchd.log file, found this "Operation not permitted", I guess that's when it was closed?
I had the same issue on Safari sometimes, but not as often as the numbers app.
Here's some of the log file, hope someone can help. Key word: failed activation, operation not permitted.
2022-02-01 11:38:20.315208 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635) <Notice>: internal event: WILL_SPAWN, code = 0
2022-02-01 11:38:20.315217 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635) <Notice>: service state: spawn scheduled
2022-02-01 11:38:20.315218 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635) <Notice>: service state: spawning
2022-02-01 11:38:20.315227 <Notice>: Coalition Cache Hit: app<application.com.apple.iWork.Numbers.11096488.11096635(501)> [1055]
2022-02-01 11:38:20.315278 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635) <Notice>: launching: non-ipc demand
2022-02-01 11:38:20.315555 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: xpcproxy spawned with pid 34674
2022-02-01 11:38:20.315566 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: internal event: SPAWNED, code = 0
2022-02-01 11:38:20.315567 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: service state: xpcproxy
2022-02-01 11:38:20.315588 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: internal event: SOURCE_ATTACH, code = 0
2022-02-01 11:38:20.318826 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: service state: running
2022-02-01 11:38:20.318832 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: internal event: INIT, code = 0
2022-02-01 11:38:20.318834 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: job state = running
2022-02-01 11:38:20.318848 (gui/501/application.com.apple.iWork.Numbers.11096488.11096635 [34674]) <Notice>: Successfully spawned Numbers[34674] because non-ipc demand
2022-02-01 11:38:20.463414 (pid/34674 [Numbers]) <Notice>: uncorking exec source upfront
2022-02-01 11:38:20.463434 (pid/34674 [Numbers]) <Notice>: created
......
2022-02-01 11:38:36.446091 (pid/34681 [QuickLookUIServ]) <Notice>: Service stub created for com.apple.security.pboxd
2022-02-01 11:38:36.446140 (pid/34681/com.apple.sidecar.DisplayMarkup) <Notice>: created the implicit endpoint upfront
2022-02-01 11:38:36.446141 (pid/34681/com.apple.sidecar.DisplayMarkup) <Notice>: draining messages from com.apple.sidecar.DisplayMarkup
2022-02-01 11:38:36.446146 (pid/34681 [QuickLookUIServ]) <Notice>: Service stub created for com.apple.speech.SpeechSynthesisServerXPC
2022-02-01 11:38:36.446149 (pid/34681 [QuickLookUIServ]) <Notice>: Service stub created for com.apple.textkit.nsattributedstringagent
2022-02-01 11:38:36.447463 <Notice>: Flushed 52 logs [limit: 20]
2022-02-01 11:38:36.449736 (pid/34680 [com.apple.appki]) <Notice>: Service stub created for com.apple.ctcategories.service
2022-02-01 11:38:36.495467 (pid/34680/com.apple.quicklook.QuickLookUIService [34681]) <Notice>: job state = running
2022-02-01 11:38:36.512544 (gui/501/com.apple.xpc.launchd.unmanaged.QuickLookUIServ.34681 [34681]) <Notice>: added unmanaged active
2022-02-01 11:38:36.516409 (pid/34674 [Numbers]) <Warning>: failed activation: name = com.apple.iWork.Numbers.apple-extension-service, flags = 0x0, requestor = com.apple.appki[34680], error = 1: Operation not permitted
Mac mini 2018 or later