Skip to content
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

[Help Wanted]: Syntax Error during CopilotForXcode Local Build #249

Open
2 tasks done
antonyhong opened this issue Jun 8, 2023 · 1 comment
Open
2 tasks done
Labels
help wanted Extra attention is needed

Comments

@antonyhong
Copy link

Before Reporting

  • I have checked FAQ, and there is no solution to my issue
  • I have searched the existing issues, and there is no existing issue for my issue

Describe your issue

Hello,
I attempted to build CopilotForXcode locally, but received the following error:

Call to method 'rebuildService' in closure requires explicit use of 'self' to make capture semantics explicit

image

My development environment is:

admin@Mac-mini ~ % xcodebuild -version 
Xcode 14.1
Build version 14B47b

admin@Mac-mini ~ % swift --version
swift-driver version: 1.62.15 Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
Target: arm64-apple-macosx12.0

The code version I am trying to build is tag 0.18.0.

Could you please provide any guidance on how to address this error?

Thank you in advance for your help.

Best regards,

@antonyhong antonyhong added the help wanted Extra attention is needed label Jun 8, 2023
@intitni
Copy link
Owner

intitni commented Jun 8, 2023

the line above should be guard let self else { return }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants