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
Error after migrating project to swift 5 #905
Comments
we also get the warning
Code: |
Additionally, this fixes the other warning about
|
@akiratoya13 The latest version in master is 0.11.6, which contains these fixes. If you use that version (also available in CocoaPods), then the warnings & errors should disappear. Stay tuned for version 0.12 which should also be coming soon :) |
Hi @sburlewapg , I'm using that version. Apparently, it's not fixed. Still giving error.. Should I post the error here? It's similar error, but not exactly the same. |
Yeah, can you post the error? |
Which version of Xcode are you using? |
Version 10.1 (10B61). I can't update beyond that. |
Gotcha, I think that's the issue. Version 0.11.6 requires Xcode 10.2 or later. |
I see. So, how do I resolve this issue? ><.. |
For now, I'd probably suggest forking 0.11.6 and changing the code back to the old version until you're able to update to Xcode 10.2, at which point you could just switch back to the master release. |
Thanks @sburlewapg , will try that after trying upgrade the Xcode again... :) |
You can use 0.11.5 with Xcode 10.1, or 0.12.0 with Xcode 10.2 (or 0.11.6 if you need Swift 4.2) |
After upgrading to Swift 5, a lot of non-critical errors appeared. For example:
'withUnsafeBytes' is deprecated: use 'withUnsafeBytes <R> (_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R' instead
Code:
The text was updated successfully, but these errors were encountered: