mori-atsushi / insetsx

WindowInsets utility for compose multiplatform
Apache License 2.0
226 stars 2 forks source link

iOS compile error: Missing symbol UIView.safeAreaInsetsDidChange #33

Open brianguertin opened 1 year ago

brianguertin commented 1 year ago

I get this error simply by including implementation("com.moriatsushi.insetsx:insetsx:0.1.0-alpha05") in my project:

e: Module "insetsx:insetsx" has a reference to symbol platform.UIKit/UIView.safeAreaInsetsDidChange|-429695373046198570[100]. Neither the module itself nor its dependencies contain such declaration.

This could happen if the required dependency is missing in the project. Or if there is a dependency of "insetsx:insetsx" that has a different version in the project than the version that "insetsx:insetsx: 0.1.0-alpha05" was initially compiled with. Please check that the project configuration is correct and has consistent versions of all required dependencies.

Is something wrong on my end or the library itself?

mori-atsushi commented 1 year ago

I could not reproduce the issue. What version of Kotlin are you using? You probably need Kotlin 1.8.20 or later. Also, if you share the project you are reproducing, I can investigate.