@@ -7,7 +7,7 @@ internal fun CompileTarget.os() = when(this) {
77 CompileTarget .iosArm64 -> " iphoneos"
88 CompileTarget .iosSimulatorArm64 -> " iphonesimulator"
99 CompileTarget .watchosX64 -> " watchsimulator"
10- CompileTarget .watchosArm64 -> " watchos"
10+ CompileTarget .watchosArm64, CompileTarget .watchosDeviceArm64 -> " watchos"
1111 CompileTarget .watchosSimulatorArm64 -> " watchsimulator"
1212 CompileTarget .tvosX64 -> " appletvsimulator"
1313 CompileTarget .tvosArm64 -> " appletvos"
@@ -22,6 +22,7 @@ internal fun CompileTarget.arch() = when(this) {
2222 CompileTarget .iosSimulatorArm64 -> " arm64"
2323 CompileTarget .watchosX64 -> " x86_64"
2424 CompileTarget .watchosArm64 -> " arm64"
25+ CompileTarget .watchosDeviceArm64 -> " arm64"
2526 CompileTarget .watchosSimulatorArm64 -> " arm64"
2627 CompileTarget .tvosX64 -> " x86_64"
2728 CompileTarget .tvosArm64 -> " arm64"
@@ -40,7 +41,7 @@ internal fun CompileTarget.simulatorSuffix() = when(this) {
4041 CompileTarget .iosArm64 -> " "
4142 CompileTarget .iosSimulatorArm64 -> " -simulator"
4243 CompileTarget .watchosX64 -> " -simulator"
43- CompileTarget .watchosArm64 -> " "
44+ CompileTarget .watchosArm64, CompileTarget .watchosDeviceArm64 -> " "
4445 CompileTarget .watchosSimulatorArm64 -> " -simulator"
4546 CompileTarget .tvosX64 -> " -simulator"
4647 CompileTarget .tvosArm64 -> " "
@@ -52,7 +53,7 @@ internal fun CompileTarget.simulatorSuffix() = when(this) {
5253internal fun CompileTarget.linkerPlatformVersionName () = when (this ) {
5354 CompileTarget .iosArm64 -> " platform_version ios"
5455 CompileTarget .iosX64, CompileTarget .iosSimulatorArm64 -> " platform_version ios-simulator"
55- CompileTarget .watchosArm64 -> " platform_version watchos"
56+ CompileTarget .watchosArm64, CompileTarget .watchosDeviceArm64 -> " platform_version watchos"
5657 CompileTarget .watchosX64, CompileTarget .watchosSimulatorArm64 -> " platform_version watchos-simulator"
5758 CompileTarget .tvosArm64 -> " platform_version tvos"
5859 CompileTarget .tvosX64, CompileTarget .tvosSimulatorArm64 -> " platform_version tvos-simulator"
@@ -65,6 +66,7 @@ internal fun CompileTarget.linkerMinOsVersionName() = when(this) {
6566 CompileTarget .iosSimulatorArm64 -> " ios_simulator_version_min"
6667 CompileTarget .watchosX64 -> " watchos_simulator_version_min"
6768 CompileTarget .watchosArm64 -> " watchos_version_min"
69+ CompileTarget .watchosDeviceArm64 -> " watchos_version_min"
6870 CompileTarget .watchosSimulatorArm64 -> " watchos_simulator_version_min"
6971 CompileTarget .tvosX64 -> " tvos_simulator_version_min"
7072 CompileTarget .tvosArm64 -> " tvos_version_min"
0 commit comments