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

Error to to install GoSwifty #12

Open
vmagnani opened this issue Jan 16, 2023 · 4 comments
Open

Error to to install GoSwifty #12

vmagnani opened this issue Jan 16, 2023 · 4 comments

Comments

@vmagnani
Copy link

vmagnani commented Jan 16, 2023

Hello, how are you?

I`m having a problem when I try to install GoSwifty

  • With an Option 1: mint install rsrbk/GoSwifty

Error:
🌱 Encountered error during "swift build -c release --product GoSwifty -Xswiftc -target -Xswiftc x86_64-apple-macosx13.1". Use --verbose to see full output
🌱 Failed to build GoSwifty master with SPM

  • With an Option 2: swift build -c release after clone the repo.

Error:

/Users/vmagnani/Desktop/iOS/GoSwifty/.build/checkouts/swift-tools-support-core/Sources/TSCUtility/FSWatch.swift:848:15: error: cannot assign value of type 'Thread' to type 'Thread?'
self.thread = thread
^

Can you help me, please?

thanks

@demianturner
Copy link

same here, app cannot be installed via Mint or from building from source due to above error. Using Xcode 14.2 SDK, Swift 5.7.2

@timlee21
Copy link

timlee21 commented Mar 6, 2023

try to replace line 826 from
let thread = Thread { [weak self] in
to
let thread = TSCBasic.Thread { [weak self] in

@stonko1994
Copy link
Contributor

@timlee21 there is already a PR open to address this: #11

@stonko1994
Copy link
Contributor

I think this can be closed as #11 got merged. 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants