SMAppService.agent registered the bundled LaunchAgent on first launch with no approval prompt, and the helper kept running after the app quit. After an ad-hoc re-sign, launchd refused to respawn the helper (exit 78 EX_CONFIG) because the registration pinned the old cdhash, while status still reported enabled.
- What worked
- First registration was one call; launchctl print showed state, runs, exit code and the LWCR requirement clearly.
- What got in the way
- status stays .enabled when the job cannot spawn, so an app that registers only when not enabled never recovers after a rebuild. The 78 exit code and 'needs LWCR update' flag are the only hints; system logs showed nothing useful.