SwiftKickMobile / SwiftMessages

A very flexible message bar for UIKit and SwiftUI.
MIT License
7.31k stars 743 forks source link

Value of type 'UIWindow' has no member 'windowScene'; did you mean 'windowLevel'? #342

Closed ch-muhammad-adil closed 4 years ago

ch-muhammad-adil commented 4 years ago

I have upgraded my application's swift version from 4 to 5. Everything is working fine if i remove this library. Here are some errors which is being generated from SwiftMessages source files i am not sure what is the main reason as i have tried many ways around the internet like cleaning, installing again everything. I will really appreciate if you respond me as soon as possible because this app is in production and i have to release the build as soon as possible after these upgrades.

Use of undeclared type 'UIWindowScene'

Screenshot 2019-09-20 at 10 07 08 PM Screenshot 2019-09-20 at 10 01 26 PM Screenshot 2019-09-20 at 10 01 40 PM

please let me know if more details are required.

wtmoose commented 4 years ago

What version of Xcode are you on?

ch-muhammad-adil commented 4 years ago

I am using xCode Version 10.3

ch-muhammad-adil commented 4 years ago

what xCode version is required to resolve this issue ?

wtmoose commented 4 years ago

Xcode 11. You can downgrade SwiftMessages to 7.0.0 for Xcode 10