GoSwifty icon indicating copy to clipboard operation
GoSwifty copied to clipboard

Error to to install GoSwifty

Open vmagnani opened this issue 3 years ago • 4 comments

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

vmagnani avatar Jan 16 '23 20:01 vmagnani

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

demianturner avatar Jan 30 '23 09:01 demianturner

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

timlee21 avatar Mar 06 '23 09:03 timlee21

@timlee21 there is already a PR open to address this: https://github.com/rsrbk/GoSwifty/pull/11

stonko1994 avatar Mar 06 '23 09:03 stonko1994

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

stonko1994 avatar May 21 '23 14:05 stonko1994