Hi there, we're just trying to use SKIE to embed swift code in our framework (all other SKIE features disabled).
At the moment, there's just a little test struct that contains one public static let TEST_TEXT. XCode resolves this just fine, but the linker complains:
It's also not appearing in the header file. It's a public struct with one public static let..
t
Tadeas Kriz
07/11/2024, 8:14 PM
Could you share the code and where you put it? And is it linker error during Kotlin or app compile?
Tadeas Kriz
07/11/2024, 8:17 PM
And do you use the TEST_TEXT from somewhere?
j
JulianK
07/12/2024, 5:38 AM
The error happens during Xcode app compile. I have framework search path and -framework linker paths set and i can use kotlin code from xcode just fine (this is an existing project where we now want to include swift code in the framework/swift package).
JulianK
07/12/2024, 5:39 AM
TEST_TEXT is used in the xcode project inside a SwiftUI View, trying to show it in the UI. I can post some code later.
JulianK
07/12/2024, 6:25 AM
Ok so it all works when i run the iOS app from Android Studio. But it does not work when running from Xcode
t
Tadeas Kriz
07/12/2024, 1:01 PM
Do you have the run script to embed the framework?