Hello! Can someone explain me the reason why the s...
# multiplatform
f
Hello! Can someone explain me the reason why the source set
iosSimulatorArm64Main
doesn't depend on
iosMain
by default and I have to explicitly add
Copy code
val iosMain by getting
        val iosSimulatorArm64Main by getting {
            dependsOn(iosMain)
        }
in order to compile the project for the
iosSimulatorArm64
target? 🤔
m
Are you using the default target hierarchy?
l
The old ios() shortcut doesn't set up arm64 simulator for backwards compatibility. The new target hierarchy should.