When developing in commonModule I lint issue that says "Expected class 'SomeClass' has no actual declaration in module shared_iosArm64Main for Native.
Though code compiles and works on emulator & real device
alex_vinz
09/24/2020, 3:26 PM
In gradle file kotlin section :
Copy code
val iosArm64 = iosArm64()
val iosX64 = iosX64("ios")
configure(listOf(iosArm64, iosX64)) {
compilations.getByName("main") {
source(sourceSets.get("iosMain"))
}
}
❤️ 1
alex_vinz
09/24/2020, 3:26 PM
without this configuration impossible to import cocoapods package to iosMain