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

franztesca

10/07/2023, 5:19 PM
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

mbonnin

10/07/2023, 7:58 PM
Are you using the default target hierarchy?
l

Landry Norris

10/07/2023, 10:54 PM
The old ios() shortcut doesn't set up arm64 simulator for backwards compatibility. The new target hierarchy should.
2 Views