From 0ba53c04d48fc93ba070613e6913ef4adc520b41 Mon Sep 17 00:00:00 2001 From: Alain Stulz Date: Fri, 24 Mar 2023 11:42:57 +0100 Subject: [PATCH] Add guidance for manual LaunchAgent setup Provides more detailed information on how to set up the LaunchAgent plist file manually --- README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b77cdeba..f7ceb6c5 100644 --- a/README.md +++ b/README.md @@ -173,8 +173,30 @@ fi > A: If you have just updated the app from an old version, make sure you have restarted the XPC Service. > -> Please make sure you have set up Launch Agents, try running `launchctl list | grep com.intii` from the terminal, and see if `com.intii.CopilotForXcode.ExtensionService` exists. If not, check `~/Library/LaunchAgents` to see if `com.intii.CopilotForXcode.ExtensionService.plist` exists. If they don't, and the button in the app fails to create them, please try to do it by hand. -> +> Please make sure you have set up Launch Agents, try running `launchctl list | grep com.intii` from the terminal, and see if `com.intii.CopilotForXcode.ExtensionService` exists. If not, check `~/Library/LaunchAgents` to see if `com.intii.CopilotForXcode.ExtensionService.plist` exists. If they don't, and the button in the app fails to create them, please try to add the file manually: + +> This is an example of the .plist file. Please note that the application path may need to be adjusted based on your installation location. + +``` + + + + + Label + com.intii.CopilotForXcode.ExtensionService + Program + /Applications/Copilot for Xcode.app/Contents/Applications/CopilotForXcodeExtensionService.app/Contents/MacOS/CopilotForXcodeExtensionService + MachServices + + com.intii.CopilotForXcode.ExtensionService + + + + +``` + +> After creating the file, set the proper permissions: `chmod 755 ~/Library/LaunchAgents/com.intii.CopilotForXcode.ExtensionService`. + > If you are installing multiple versions of the extension on your machine, it's also possible that Xcode is using the older version of the extension. **Q: The extension complains that it has no access to the Accessibility API**