https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
v

Vojtech Hrdina

06/28/2019, 12:12 PM
Hi, anyone could help? 1. https://github.com/JetBrains/kotlin-native/issues/3094 - Warning will be ignored by default in 1.3.41 - How it will be fixed? Do we still need add -Xcc -Wno-swift-name-attribute in build settings? 2. Any idea how to add more than one multitiplatform library in iOS project? ex: I have multiplatform library libA, libB, libC. iOS appA has only libA, appB should have libA, libB, libC - but it is limited by https://github.com/JetBrains/kotlin-native/issues/2423. Is it possible build something like xcode-framework-core, xcode-framework-libA, xcode-framework-libB, xcode-framework-libC and import core+libA, lib… to iOS app? Or only one workaround is write gradle task to compile multiple source sets into one xcode-framwork?
s

svyatoslav.scherbina

06/28/2019, 12:34 PM
1. https://github.com/JetBrains/kotlin-native/issues/3094 - Warning will be ignored by default in 1.3.41 - How it will be fixed? Do we still need add -Xcc -Wno-swift-name-attribute in build settings?
No, it shouldn’t be required since 1.3.41.
Is it possible build something like xcode-framework-core, xcode-framework-libA, xcode-framework-libB, xcode-framework-libC and import core+libA, lib… to iOS app? Or only one workaround is write gradle task to compile multiple source sets into one xcode-framwork?
Currently you have to build two frameworks, once for appA including libA, and one for appB including libA, libB and libC.