Closed jittya closed 5 years ago
Known issue.
Add this to your ios
target configuration in Gradle build script:
binaries.getByName("testDebugExecutable").linkerOpts("-framework UIKit")
@SvyatoslavScherbina Worked!!!
What if I need to link more than one framework like this? UIKit, Foundation, AVFoundation... etc
What if I need to link more than one framework like this?
Why do you ask? Have you encountered a similar problem with other framework?
This particular issue can happen only with system frameworks, and UIKit
is the only known example.
Well, I just had to link things correctly, you already helped me here: https://github.com/JetBrains/kotlin-native/issues/3096#issuecomment-584028554