Post

Replies

Boosts

Views

Activity

Comment on How to use SMAppService to launch a launchAgent
Thank you!!! I was able to get it working although I have a question, in the other thread, your structure has this: Test721737.app/Contents/MacOS/com.example.apple-samplecode.Test721737.agent Is this an executable swift file compiled using the swiftc compiler in the terminal? Also if the user deletes the app, must something be done to ensure that the launchd agent is removed? Thanks and the recommendation for logging is duly noted,
Sep ’23
Comment on Are LaunchdAgents deleted when the app is deleted
Thank you for your response! That does make sense for why the launch agent doesn't get un-registered even when I delete my app
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on How to use SMAppService to launch a launchAgent
Thank you!!! I was able to get it working although I have a question, in the other thread, your structure has this: Test721737.app/Contents/MacOS/com.example.apple-samplecode.Test721737.agent Is this an executable swift file compiled using the swiftc compiler in the terminal? Also if the user deletes the app, must something be done to ensure that the launchd agent is removed? Thanks and the recommendation for logging is duly noted,
Replies
Boosts
Views
Activity
Sep ’23