Open nhachicha opened 2 weeks ago
You mention that it was tested by adding the Swift SDK to a sample project. Could we add this project to our examples to track any regression?
Yeah, sound like something that would be cool to put in the test suite similarly to https://github.com/realm/realm-kotlin/tree/main/examples/realm-java-compatibility
The cinterop KLIB includes compiled core's static libraries that will be used by the linker to build the final app. This PR will avoid exporting Core's symbols so if the user adds another SDK like Swift to their app then build/link statically the Swift app the two versions of Core will not conflicts
Most of the work was testing with
MultiplatformDemo
andMultiplatformDemoWithSync
while adding a POD dependency to Swift SDK and using two Realms using two version of Core inside the same iOS app.when building such app the dynamic framweork build from Kotlin/Native should not include any Core symbols like the following: