@@ -25,6 +25,11 @@ class TargetPlatformDslTest : StringSpec() {
25
25
.shouldHaveTarget(" iosX64" )
26
26
}
27
27
28
+ " adding ios targets should add arm 64 simulator target" {
29
+ TargetPlatformDsl ().apply { iOS(someVersion) }.targetPlatforms
30
+ .shouldHaveTarget(" iosSimulatorArm64" )
31
+ }
32
+
28
33
" adding watchOS targets should add arm 32 target" {
29
34
TargetPlatformDsl ().apply { watchOS(someVersion) }.targetPlatforms
30
35
.shouldHaveTarget(" watchosArm32" )
@@ -40,6 +45,11 @@ class TargetPlatformDslTest : StringSpec() {
40
45
.shouldHaveTarget(" watchosX86" )
41
46
}
42
47
48
+ " adding watchOS targets should add arm 64 simulator target" {
49
+ TargetPlatformDsl ().apply { watchOS(someVersion) }.targetPlatforms
50
+ .shouldHaveTarget(" watchosSimulatorArm64" )
51
+ }
52
+
43
53
" adding tvOS targets should add arm 64 target" {
44
54
TargetPlatformDsl ().apply { tvOS(someVersion) }.targetPlatforms
45
55
.shouldHaveTarget(" tvosArm64" )
@@ -50,11 +60,21 @@ class TargetPlatformDslTest : StringSpec() {
50
60
.shouldHaveTarget(" tvosX64" )
51
61
}
52
62
63
+ " adding tvOS targets should add arm 64 simulator target" {
64
+ TargetPlatformDsl ().apply { tvOS(someVersion) }.targetPlatforms
65
+ .shouldHaveTarget(" tvosSimulatorArm64" )
66
+ }
67
+
53
68
" adding macOS targets should add x64 target" {
54
69
TargetPlatformDsl ().apply { macOS(someVersion) }.targetPlatforms
55
70
.shouldHaveTarget(" macosX64" )
56
71
}
57
72
73
+ " adding macOS targets should add arm 64 target" {
74
+ TargetPlatformDsl ().apply { macOS(someVersion) }.targetPlatforms
75
+ .shouldHaveTarget(" macosArm64" )
76
+ }
77
+
58
78
" adding target without names should not add a platform target" {
59
79
TargetPlatformDsl ().apply { targets(version = someVersion) }.targetPlatforms
60
80
.shouldBeEmpty()
0 commit comments