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

build: update to support Swift 5 #17

Merged
merged 5 commits into from
Jan 23, 2020
Merged

build: update to support Swift 5 #17

merged 5 commits into from
Jan 23, 2020

Conversation

ikait
Copy link
Contributor

@ikait ikait commented Apr 11, 2019

Changes with this PR make build available with Xcode 10.2 and Swift 5.

@sherwinski
Copy link
Contributor

Hi @ikait thanks for the PR. Just wanting to be sure, how will this affect our users who might be using older versions of XCode and/or Swift?

@ikait
Copy link
Contributor Author

ikait commented Apr 16, 2019

Hi @sherwinski. Swift 5 isn’t compatible (cannot build) with older versions of Xcode and Swift. After merge this, I suppose it would be better to make and publish a new tag like 0.5.0 and add comments like "The imgix Swift client is compatible with Swift 5.0" for users who use older versions just like https://github.com/imgix/imgix-swift/blob/master/README.md#swift

@sherwinski
Copy link
Contributor

Hi @ikait, that makes sense. I tried to search around and see how other swift projects handle multiple swift/xcode versions but wasn't able to find a concrete practice.

.travis.yml Outdated Show resolved Hide resolved
@ikait
Copy link
Contributor Author

ikait commented Apr 24, 2019

Hi @sherwinski, thanks for reply. Removed.

@fumito-ito
Copy link

@sherwinski any updates for this PR ?

@sherwinski
Copy link
Contributor

Hi @fumito-ito thanks for following up. My biggest hesitation for merging this PR right now is whether it will prevent us from being able to release features for our users who are still on swift version 4. Additionally, if I had some way of understanding how many swift developers out there are still using swift 4 versus how quickly they are upgrading to swift 5, it would help a lot in deciding when we should upgrade as well.
I'm sure that you and @ikait are much more familiar with the nuances of swift package development, so any insights you might have would be really appreciated. Thanks

@ikait
Copy link
Contributor Author

ikait commented Jan 16, 2020

Hi @sherwinski , Xcode 11.X has been released and I suppose almost iOS projects have already developed by using Swift 5 so I think it's time to merge this branch. Thanks.

@sherwinski
Copy link
Contributor

Hi @ikait! I think you are correct and after looking around at a few popular libraries online (e.g. Alamofire, Perfect, SwiftLint, Eureka, Moya, RxSwift, SnapKit) it seems like there has been wide adoption of Swift 5. I am comfortable with merging this now.

Thank you for putting in the work for this @ikait 🙌

@sherwinski sherwinski changed the title Update for Swift 5 build: update to support Swift 5 Jan 23, 2020
@sherwinski sherwinski merged commit 6b189f0 into imgix:master Jan 23, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants