Alamofire: Remove iOS 8 and possibly 10.10 support

Created on 22 Aug 2017  路  8Comments  路  Source: Alamofire/Alamofire

iOS 8 is quite dead and has several workarounds in the codebase that it would be nice to remove. Support for 10.10 is really an unknown right now, as we don't test against it at all at the moment. We need to remove at least iOS 8, and perhaps 10.10 support.

enhancement

Most helpful comment

Like I said, if it really matters to you, keep using Alamofire 4.

All 8 comments

Totally disagree. One workaround in code, few @available notations (streams absolutely doesn't worth of dropping the ios8 support. You could made it a subspec for those who really need it) and a very few tests changes. Not a big deal, IMHO. Hope you guys won't drop it, leaving us without the support.

@Sega-Zero You clearly have no idea what kind of support this requires. If you look at this PR you can see just how many workarounds and version checks it needs, and there are only two of us maintaining this project. iOS 8 is dead, and everyone running it can upgrade to iOS 9 for free at any time. If you really need iOS 8 support for some reason, you can continue using Alamofire 4.

I saw this PR before posting my opinion. I repeat: not a big deal. I would agree if there was a giant technical debt, but i's not. It's just a few extra lines of (not that beautiful) code.

Like I said, if it really matters to you, keep using Alamofire 4.

This has been merged into the Alamofire 5 branch.

It is reasonable to drop the iOS 8 support. But why 5.0.0 beta1 does not support iOS 9?

Yeah it's smart decision to do that ,the iOS 8 is so less @jshier Thank for your sharing and contributions.

iOS 9 was dropped mainly so we could get first class URLSessionTaskMetrics support and get rid of the gross hack we had to use before. Plus the hardware iOS 10 supports seems to be Apple鈥檚 new baseline, so setting that as a baseline should be supported for a while. Finally, iOS 9 is less than 5% of active iOS devices worldwide. It鈥檚 not worth our limited effort to support, especially when doing so would hold the library back.

Keep using Alamofire 4 if it鈥檚 that important to you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DrAma999 picture DrAma999  路  3Comments

matthijsotterloo picture matthijsotterloo  路  3Comments

Tulleb picture Tulleb  路  3Comments

hengchengfei picture hengchengfei  路  3Comments

zhouhao27 picture zhouhao27  路  3Comments