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