Skip to content

Commit 243816b

Browse files
committed
Revert "wip"
This reverts commit 6cdfb26.
1 parent 6cdfb26 commit 243816b

File tree

1 file changed

+12
-33
lines changed

1 file changed

+12
-33
lines changed

fastlane/Fastfile

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@ devices = {
1515
16 => ["Apple TV (16.4)"],
1616
17 => ["Apple TV (17.0)"],
1717
},
18-
}
19-
20-
destinations = {
21-
"macos" => {
22-
1 => ["platform=macOS", "platform=macOS,variant=Mac Catalyst"],
23-
},
2418
"visionos" => {
25-
1 => ["platform=visionOS"],
19+
1 => ["Apple Vision Pro (1.0)"],
2620
},
2721
}
2822

@@ -37,7 +31,7 @@ lane :build do |options|
3731
end
3832

3933
if platform == "macos"
40-
for destination in destinations[platform][version]
34+
for destination in ["platform=macOS", "platform=macOS,variant=Mac Catalyst"]
4135
build_app(
4236
scheme: scheme,
4337
destination: destination,
@@ -48,31 +42,16 @@ lane :build do |options|
4842
)
4943
end
5044
else
51-
if destinations[platform]
52-
for destination in destinations[platform][version]
53-
run_tests(
54-
configuration: "Debug",
55-
build_for_testing: true,
56-
scheme: scheme,
57-
destination: destination,
58-
prelaunch_simulator: false,
59-
ensure_devices_found: true,
60-
force_quit_simulator: true,
61-
disable_concurrent_testing: true,
62-
)
63-
end
64-
else
65-
run_tests(
66-
configuration: "Debug",
67-
build_for_testing: true,
68-
scheme: scheme,
69-
devices: devices[platform][version],
70-
prelaunch_simulator: false,
71-
ensure_devices_found: true,
72-
force_quit_simulator: true,
73-
disable_concurrent_testing: true,
74-
)
75-
end
45+
run_tests(
46+
configuration: "Debug",
47+
build_for_testing: true,
48+
scheme: scheme,
49+
devices: devices[platform][version],
50+
prelaunch_simulator: false,
51+
ensure_devices_found: true,
52+
force_quit_simulator: true,
53+
disable_concurrent_testing: true,
54+
)
7655
end
7756
end
7857

0 commit comments

Comments
 (0)