-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Async/await when running on pre iOS 13 devices #526
Comments
Oh, wow. Yeah, thanks for bringing this up. If that's the case, I think it would be best to revert the changes for now. I'm not sure I can afford to jump from iOS 11 to iOS 13 as a minimum required version just yet. |
Yeah we are going the same conundrum now. :) Xcode 13.2 release notes has a suggested workaround here
But since it is impossible to test this for me without pushing an app to the AppStore I'm hesitant on using it. |
I deleted the release for now until there is more information. If someone's interested in using async/await, please install Nuke from the branch. |
Cool, thanks. Probably for the best for the time being. |
С Наступающим! |
Alamofire did resolve this. It can be done. Very intereted to use it with async/await. Check this out: P.S.: why not have it as an extension module for now until we are sure it won't break anything? Those who are iOS 13.0+ can use it at least! |
Thanks, @mohpor. This is fantastic news! I'll release async/await this weekend. |
Yes, I did the same. My understanding is that it addresses the issue with iOS 12 and earlier devices. // Before:
#if swift(>=5.5.2))
// After
#if swift(>=5.6) |
@gabors Yes. I know. But, there was a fix in Xcode 13.3.1 that made it possible.
I hope this will resolve some of the issues. |
Async/Await available in version 10.8. I tested it on iOS 12 simulator – doesn't crash. |
Hi @kean
I'm not sure this is going to be an issue, but I just ran into a problem with a different framework on iOS 12
Alamofire/Alamofire#3529
The app would crash on iOS 12 and earlier because of libswift_Concurrency.dylib even though it's not being used.
Just wanted to bring this up in case we may run into similar problem with Nuke 10.6.
I don't have the ability to test this on a pre iOS 13 device using an AppStoreConnect build as TestFlight is not supported anymore pre 13.
The text was updated successfully, but these errors were encountered: