-
Notifications
You must be signed in to change notification settings - Fork 129
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
Add Swift 5.1 support on Linux #85
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this, I was actually working on exactly the same thing given this is the last think I think was missing for my PR danger/swift#275
I think though that canImport
was implemented from swift 4.1
, and if I remember correctly xcode 9.2 doesn't have it, then you will probably have to check the swift version before using the canImport
@f-meloni I actually did this to get my fork of danger building on linux with Swift 5.1 (and you're right that this is the last thing missing) 😂 I was going to wrap these in |
I think |
I have opened ellneal#1, which adds the Another option could be to drop Xcode 9.2? Swift 4.1 (which is when |
I would rather support iOS versions than Xcode versions. I think it’s ok to support only iOS 10, 11 and 12. |
Switching to Xcode 11 has just created a hang when installing gems. I'll look into it when I have some free time. |
Maybe you can take a hint from RequestKit as we are on 10.2 “already”. I also have an open pull request which is failing for a different reason using Xcode 11.2 |
I have actually managed to get all the tests to pass now, but it’s timing out when attempting to lint the pod spec 🤦♂️ |
Yes, so same as on RequestKit. Maybe disable it for now and open an issue so we can move on? |
@pietbrauer it looks to me as if this is all controlled from the nerdishbynature/requestkit_fastlane repository. My experience with Fastlane is entirely contained within the commits in this PR, so I'm not sure I'm the best person for the job 😅 |
I've managed to disable the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet! Nice job!
@pietbrauer No worries 😁 Can you tag a new release? I'll open an issue to re-enable the podspec linting 👍 |
Yeah a new release would be great 🚀 |
Add Swift 5.1 support on Linux
Uses the
FoundationNetworking
module where available.