CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

[Help Wanted]: Syntax Error during CopilotForXcode Local Build

Open antonyhong opened this issue 2 years ago • 1 comments

Before Reporting

  • [X] I have checked FAQ, and there is no solution to my issue
  • [X] 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 avatar Jun 08 '23 13:06 antonyhong

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

intitni avatar Jun 08 '23 13:06 intitni