Hey folks, as part of my multiplatform library I w...
# kotlin-native
t
Hey folks, as part of my multiplatform library I want to write some unit tests in xcode using the generated framework. I successfully linked the framework as embedded binary and can use it in the code, but I get an error when referencing it from the tests. I created an xcode project with unit tests and added
@testable import main
to the test, where
main
is the kotlin/native framework.
s
Try linking your tests with Kotlin framework too.
t
That fixed it 👍
👍 1