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
Xcode 9 - "Task" error #63
Comments
This has been fixed in the pull request I submitted yesterday. Hopefully it gets merged. Until then, change Edit: Swift 4 changes have been merged. |
Hi! I'm using the latest release (1.3.0) and I'm still seeing that error. You've said that the changes have been merged but the latest release doesn't said anything about Swift 4 changes. Thank you! |
That's because the podspec hasn't been updated to 1.4.0 yet since this repo doesn't seem to be well-looked-after. I posted an issue about it 3 weeks ago here. Until that happens you'll need to explicitly point to the repo in your Podfile. |
Thank you so much @akwilliamson :) |
@akwilliamson mind including how to point to the explicit repo for it? |
I think this is it @marchy: Basically you should put this in your pod 'Bolts-Swift', :git => 'https://github.com/BoltsFramework/Bolts-Swift' |
Fantastic, thanks for that @Tudmotu :) |
I'm using this project via ParseLiveQuery and I'm still having this issue. It seems that the wrong commit is pulled. |
I am also using via ParseLiveQuery and the problem persists, i managed to fix the first error using the above suggestion: but just below there is another problem on the line: self.trySet(state: TaskState.fromClosure(closure)) Cannot convert value of type '(Void) throws -> TResult' to expected argument type '() throws -> Is there any suggestion to fix this? Thanks. |
I had to do this: |
Issue still persists, if the above solutions are not followed. |
thanks @sjmerel your specific commit worked for me too. |
Still having this issue. Tried all of the above. |
I just upgraded Xcode, now with Swift 4 and an error has occurred at the
Task
swift file! See picture below:It seems the
success
case needs an argument...Have in mind I already have upgraded the SDK with cocoapods.
Thanks in advance!
The text was updated successfully, but these errors were encountered: