Closed Oh4sh0 closed 3 years ago
I've figured this out, although I can't explain the why.
When installing this application, it was overwriting an existing terminal notifier application with the same name. On endpoints where this existing older install was present, despite the overwriting occurring successfully, the application would always hang when launched. No matter what. No useful logging would tell me why. Adding a "rm -rf" to the preinstall script to delete the existing application bundle resolved the issue entirely.
On a user's device, when the built application invoked (10.15.7+SecUpd2021-001), the application appears to hang. I can run it just fine from several devices. Haven't been able to debug what's consistent. I have noticed that most users reporting this behavior have an external dock/display.
Invoking the app is done via: /Library/Application\ Support/COName/Notifications/Notify.app/Contents/MacOS/Notify -t "test" -s "testdata"
Debugging has been a little difficult with ambiguous error messages. In his console I found: Unknown class '', using 'NSObject' instead. Encountered in Interface Builder at file path .
I don't know that that error is directly related to the problem. The LSExceptions error may be.
Some more from the log: