Jose Flavio
12/02/2022, 3:10 AMiosSimulatorArm64
sourceSet in the gradle file in order to generate de Framework and compile the project in XCode
Or maybe is there something that I'm missing?ayodele
12/02/2022, 6:02 AMHee Fan
12/02/2022, 6:55 AMval xcf = XCFramework() // if you use xcframework. otherwise, you can remove it.
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
xcf.add(this) // use for xcframework
}
}
You do not need to have sourceSet for each platform, unless you have special handing for simulator or device.Jose Flavio
12/05/2022, 3:17 PMiosArm64
→ generates Framework/compile for iPhone device
• iosSimulatorArm64
→ generates Framework/compile for simulator in XCode
Correct?
However, since iOS in an iPhone is an arm64 operating system, why iosArm64
would not work for iOS simulator? 🤔Hee Fan
12/09/2022, 7:10 AMM
series, and iPhone use A
series. Apple silicon - Wikipedia. therefore, the generated targets are different.