-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This extension is hang up using Xcode Editor #35
Comments
@kenchan0130 that's interesting, do other commands work for you? e.g. "Get Suggestions" Looking at that selection from the log it's not completely clear the Accessibility permission is fully granted, but also there are no errors related to it in that selection. |
Some of the logs listed in the description were missing, so I am adding them here.
I have tried to execute "Get Suggestions" command. |
@kenchan0130 thanks those logs make the issue clear, the Accessibility permission is not sufficiently granted: |
Thank you for your support.
As a test, I have granted the The editor no longer hangs, but completion does not seem to work.
|
@kenchan0130 Nice progress! It looks like the issue is now that the source editor extension running inside Xcode is not able to make the XPC call to the Copilot for Xcode app, e.g. to "Accept Suggestion" To make guess is there any restrictions on your machine that could be preventing the XPC call? You could check in the Console.app to see if there's a more detailed error message from the call from Xcode. |
I have checked the logs, but the contents of the xpc call being blocked were unrecognizable to me.
|
@kenchan0130 thanks for the sharing the console.app logs, digging through there I'd say this error is a likely culprit:
Is there a chance the profile from your organization could be preventing the xpc? See here for the relevant sandbox entitlements: CopilotForXcode/EditorExtension/EditorExtension.entitlements Lines 5 to 15 in dfe1195
|
Describe the bug
When I open the Xcode editor and activate GitHub Copilot, the following message will appear and you will not be able to operate the editor.
Versions
Steps to reproduce
Screenshots
Logs
Additional context
The PPPC accessibility permissions are controlled with a profile by my organization.
The text was updated successfully, but these errors were encountered: