File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
src/main/kotlin/com/chromaticnoise/multiplatformswiftpackage Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ internal enum class TargetName(val identifier: String) {
88 WatchOSarm64 (" watchosArm64" ),
99 WatchOSx86 (" watchosX86" ),
1010 WatchOSx64 (" watchosX64" ),
11+ WatchOSDeviceArm64 (" watchosDeviceArm64" ),
1112 WatchOSSimulatorArm64 (" watchosSimulatorArm64" ),
1213 TvOSarm64 (" tvosArm64" ),
1314 TvOSx64 (" tvosX64" ),
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ internal val TargetName.konanTarget: KonanTarget get() = when (this) {
2525 TargetName .WatchOSarm64 -> KonanTarget .WATCHOS_ARM64
2626 TargetName .WatchOSx86 -> KonanTarget .WATCHOS_X86
2727 TargetName .WatchOSx64 -> KonanTarget .WATCHOS_X64
28+ TargetName .WatchOSDeviceArm64 -> KonanTarget .WATCHOS_DEVICE_ARM64
2829 TargetName .WatchOSSimulatorArm64 -> KonanTarget .WATCHOS_SIMULATOR_ARM64
2930 TargetName .TvOSarm64 -> KonanTarget .TVOS_ARM64
3031 TargetName .TvOSx64 -> KonanTarget .TVOS_X64
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ internal fun getWatchosSimulatorFrameworks(configuration: PluginConfiguration):
2727 .filter {
2828 it.linkTask.name.contains(" WatchosX86" )
2929 || it.linkTask.name.contains(" WatchosX64" )
30+ || it.linkTask.name.contains(" WatchosDeviceArm64" )
3031 || it.linkTask.name.contains(" WatchosSimulatorArm64" )
3132 }
3233}
You can’t perform that action at this time.
0 commit comments