swiftsocket / SwiftSocket

The easy way to use sockets on Apple platforms
BSD 3-Clause "New" or "Revised" License
1.68k stars 400 forks source link

update swift version #179

Closed george-bh closed 4 years ago

george-bh commented 5 years ago

Xcode 10.2 - carthage - unsupported swift version (3.0 not supported anymore)

acrabb commented 4 years ago

eta on this?

shayneoneill commented 4 years ago

Bump. This is a massive code-breaker

daniel-gratwicke-accedo commented 4 years ago

Keen to find out any available ETAs on this.

dmzza commented 4 years ago

I hope this will be merged soon. But in case anyone wasn't aware of this trick...

While we wait for this to be merged, you can always change your podfile:

- pod 'SwiftSocket'
+ pod 'SwiftSocket', :git => 'https://github.com/odariusgeorge/SwiftSocket.git', :branch => 'patch-1'

It works for me. 👍

shayneoneill commented 4 years ago

If this will take time to integrate it, could I suggest at least updating the documentation to reflect the interim solution (with a note saying it would be prudent to revert to the non versioned Podspec when the patch is merged and published). Its a pretty disruptive bug

AZOM commented 4 years ago

I would really appreciate if this would be fixed. Why not using Swift 5 directly instead of 4.2?

eschos24 commented 4 years ago

I made an updated PR for Swift 5 (#186) with a couple additional (very small) fixes.

kveldkamp commented 4 years ago

Please merge in this PR or #186, I also had the same issue in our production app. Thanks @dmzza for the suggestion, worked perfectly 👍