Comcast / mamba

Mamba is a Swift iOS, tvOS and macOS framework to parse, validate and write HTTP Live Streaming (HLS) data.
Apache License 2.0
178 stars 39 forks source link

Support XCode 9+ #23

Closed jgainfort closed 6 years ago

jgainfort commented 6 years ago

Hi! The README states that the library supports XCode 9+ but is using an operator requiring XCode 9.3+.

Seems this was introduced with this commit and changing flatMap to compactMap

https://github.com/Comcast/mamba/commit/2ecd85c79771915d0bcade0d4297860862b7fd69

Is the intention still to support XCode 9+ or to move to only supporting 9.3+? Would a PR converting compactMap back to flatMap be acceptable?

dcoufal commented 6 years ago

Thanks for the issue writeup.

This is really a swift 4.0 -> 4.1 issue, but it was forced by the Xcode 9.3 update.

We're generally committed to supporting the latest non-beta releases of Xcode and Swift. So, we can't just switch back to flatMap as that means we would not compile for Swift 4.1.

We could either:

Hope this helps.

jgainfort commented 6 years ago

@dcoufal If you accept the PR how long would you expect a new release to be made?

https://github.com/Comcast/mamba/pull/24

dcoufal commented 6 years ago

I'd guess within a day. if that doesn't happen, ping us/me in this ticket.

Also, you'll have to agree to the Comcast CLA before we could merge. I'm showing that you have not signed. Let me know if you have technical problems with that.

jgainfort commented 6 years ago

I did submit my agreement but it seems to not update. Getting a message saying it might be my email but I verified my email used for the commit is under my profile.

dcoufal commented 6 years ago

Yeah, I'm not sure either. I will check with our open source GitHub admins and get back to you.

jgainfort commented 6 years ago

Seems it was just updated. CLA signed.

dcoufal commented 6 years ago

Fixed and merged.

dcoufal commented 6 years ago

@jgainfort mamba 1.0.5 is released. Cocoapods takes a little time if that's what you're using.

jgainfort commented 6 years ago

@dcoufal Thank you!