Hi all,
According to the reference link,
Packaging a Daemon with a Provisioning Profile
I changed our launchd daemon to run as an .app.
But when ***(LaunchServices) ran .app/Contents/MacOS/FamRTServicebig on macOS Big Sur, this error occurred:
Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260"The file “PlugIns” couldn’t be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Library/Application%20Support/test/bin/FamRTServicebig.app/Contents/, NSFilePath=/Library/Application Support/test/bin/FamRTServicebig.app/Contents/PlugIns, NSUnderlyingError=0x7fedb6c199a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
system.log:
Nov 20 16:07:22 MacBookAirnoMacBook-Air com.apple.xpc.launchd[1] (com.test.realtime.scan[438]): removing service since it exited with consistent failure - OSREASON_EXEC
Questions:
Could you let me know how to resolve this error?
Thanks in advance for your help.
According to the reference link,
Packaging a Daemon with a Provisioning Profile
I changed our launchd daemon to run as an .app.
But when ***(LaunchServices) ran .app/Contents/MacOS/FamRTServicebig on macOS Big Sur, this error occurred:
Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260"The file “PlugIns” couldn’t be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Library/Application%20Support/test/bin/FamRTServicebig.app/Contents/, NSFilePath=/Library/Application Support/test/bin/FamRTServicebig.app/Contents/PlugIns, NSUnderlyingError=0x7fedb6c199a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
45683955: Checking whether application is managed at file:///Library/Application%20Support/test/bin/FamRTServicebig.app//com.test.realtime.scan
system.log:
Nov 20 16:07:22 MacBookAirnoMacBook-Air com.apple.xpc.launchd[1] (com.test.realtime.scan[438]): removing service since it exited with consistent failure - OSREASON_EXEC
Questions:
Could you let me know how to resolve this error?
Thanks in advance for your help.