github / github/CopilotForXcode

Get suggestion not work.

Open
#98 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
2m
Merged PRs (30d)
2

Description

Get suggestion not work.

**Versions**
- Copilot for Xcode: 0.29.0
- Xcode: 16.2
- macOS: 15.2

**Logs**

[2025-01-09T01:13:23.102Z] [debug] [Service] [3794] TabToAcceptSuggestion: Activated.
file: /Users/runner/work/copilot-xcode/copilot-xcode/Core/Sources/KeyBindingManager/TabToAcceptSuggestion.swift
line: 14
function: TabToAcceptSuggestion
[2025-01-09T01:13:23.191Z] [info] [Service] [3794] Extension Service is not updated, no need to quit.
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[getCompletions] Requesting completion at position 34:11, between \"NS_INLINE BOOL uniIsStrEmpty(NSString * str){\\n NSLog(@\" and \")\\n return str==nil||str.length == 0;\\n\".",
"type" : 4
}
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[relatedFiles] neighborFiles.getNeighborFilesAndTraits Failed to get the related files: UniUtility.h is not under the workspace folder",
"type" : 4
}
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[ghostText] Trying to get completions from cache for key: 0a68f84c5bcf45b18200c7710a36cb3ac64bc8c6c6a890f145b869f5e987b3a7",
"type" : 4
}
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] statusNotification: {
"message" : "",
"status" : "InProgress"
}
[2025-01-09T01:13:27.788Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[ghostText] Getting all completions from network",
"type" : 4
}
[2025-01-09T01:13:27.789Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"type" : 4,
"message" : "[proxySocketFactory] Attempting to establish connection to proxy"
}
[2025-01-09T01:13:27.791Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[proxySocketFactory] Socket Connect returned status code 200",
"type" : 4
}

.........

[2025-01-09T01:13:29.296Z] [info] [GitHubCopilot] [3794] statusNotification: {
"status" : "Warning",
"message" : "Last response was a 429 error"
}
[2025-01-09T01:13:29.296Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[fetchCompletions] Rate limited by server. Denying completions for the next 10 seconds.",
"type" : 2
}

**Additional context**
why it says UniUtility.h is not under the workspace folder, I checked that and the file is under the workspace.
And the first time I install the copilot. It works for the same xcode project. But now the copilot does not!!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.