Xcode 10.2 - carthage - unsupported swift version (3.0 not supported anymore)
QubixStudio opened this issue · 8 comments
Hi there, is it possible to set at least swift 4.0 as default?
thnx a lot
Same for Cocoa Pods(
Howdy. When I went to the Pod's build settings and changed the Swift Compiler version from Swift 5 to Swift 4, I got the following issue:
The way I eventually got the library to run on my version of XCode (10.2.1) was by going to the file
Pods/SwiftSocket/SupportFiles/SwiftSocket.xcconfig
and changing the line SWIFT_VERSION = 3
to SWIFT_VERSION = 4
. Once I did this, the code compiled. I have yet to notice any issues with the way I'm incorporating the library with my project.
Check for all the related pods and the project
Check the error description
Sorry, probably a stupid suggestion:
Use Cocoapods. I just downloaded and installed this library and opening a socket worked right away (Xcode 10.2.1, Swift 5) - no error messages and no need to change any settings.
Sorry Nathipha, I'm getting this on Cocoapods too
Changing SWIFT_VERSTION 3 to 4 in SwiftSocket.xconfig actually works, somehow.....
But it breaks CI , so I might have to fork an internal version for the sake of keeping CI sane. :/
This seems to fix it.
#179