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

Not able to build with carthage #203

Open
ghost opened this issue Jan 22, 2019 · 1 comment
Open

Not able to build with carthage #203

ghost opened this issue Jan 22, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 22, 2019

Hi,
I upadated my Mac os to 10.13.6 and updated my Xcode to 10.1. After that when I tried to build Xcode gave error "Module Locksmith compiled with swift 4.0.3 can not be imported by swift 4.2 compiler".
So I tried to fetch and build latest Locksmith version using "Carthage update" but I got
"The file “Locksmith.framework” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/xxxxxxxx/Library/Caches/org.carthage.CarthageKit/DerivedData/Locksmith/4.0.0/Build/Products/Release-appletvos/Locksmith.framework, NSUnderlyingError=0x7f8bcf2ce610 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

Let me know if I'm doing anything wrong from my side.

@RobertoMachorro
Copy link

RobertoMachorro commented Jul 21, 2019

It builds just fine for iOS at my end, but blows up with macOS:

*** Building scheme "Locksmith iOS" in Locksmith.xcworkspace
*** Building scheme "Locksmith OS X" in Locksmith.xcworkspace
Build Failed
Task failed with exit code 65:

In the build log file I noticed this:

error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Locksmith OS X')

It's possible that someone hasn't updated macOS' build to use a newer Swift. I'm going to checkout the code and give it a try. If it works, I'll do a pull request.

EDIT/UPDATE: I updated to Swift 5 and macOS 10.11 - it builds and passes all tests. I checked to see if someone else may have already done a Pull Request with this and here it is #210 - project may be dead though...

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

1 participant