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
compile errors with swift 4.1 and xcode 9.3 #302
Comments
I am experiencing the same problem. |
I noticed that the library was updated to swift in 1.4.0 release, but not published in cocoapods. |
+1. Same compile errors. |
I am experiencing the same problem |
I got around by pulling in the source files directly and creating a "group" called "SwifterFiles". Of course we cannot use "import Swifter" anymore but the "HttpServer" object is available directly. |
Same problem here. |
same error |
I've just fixed using the 1.4.2 release. I've added this to my Podfile and it's working:
|
A new version was released |
I am trying to update my app from swift 3 to swift for 4 and getting compile errors on Scopes.swift
on scope() "Missing argument for parameter #1 in call,
public typealias Closure = (Void) -> Void "When calling this function in Swift 4 or later, you must pass a '()' tuple; did you mean for the input type to be '()'?"
I created a small test app with just the swifter pod and getting the same thing.
I am using xcode 9.3, in build settings I have tried setting the Swift Language Version to unspecified and Swift 4.1 but I am getting the same errors when I do a Product clean and then Product Build
My podfile has:
pod 'Swifter', '~> 1.3.3'
The text was updated successfully, but these errors were encountered: