I've created an app that uses "NSNotificationCenter" to get app launch notifications.
I registered it in LaunchDaemons and started it when macOS started, but I cannot get the notification.
We have confirmed that the application has started up from the log and ps command.
I was able to get notifications when I debug in Xcode or launch the app directly.
Is it possible to get notifications by launching from LaunchDaemon?
Post
Replies
Boosts
Views
Activity
When I build and run the source code of "ProcessMonitor", I get the following error.
Certificate and provisioning profiles are created for this app.
The results will not change even if you download and execute the notarized app.
Please tell me how to run the app.
ProcessMonitor:
objective-see - products utilities - ProcessMonitor
Exception Type: EXCCRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
XCode:11.5(11E608c)
MacOS:10.15.5(19F101)