Skip to content

Commit 4f1f108

Browse files
committed
Fixed deployment and snapshots
[ci skip]
1 parent fb56c6a commit 4f1f108

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

fastlane/Scanfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
scheme("AllTests")
2-
device("iPhone 14")
2+
device("iPhone 15")
33
clean(true)
44
output_types("html")
55
skip_slack(true)

fastlane/Snapfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
# Workaround: https://www.jessesquires.com/blog/2024/01/04/simctl-status_bar-still-broken/
2+
ios_version("16.0")
3+
14
# A list of devices you want to take the screenshots from
25
devices([
3-
"iPhone 15 Pro Max",
4-
"iPad Pro 13-inch (M4)",
6+
"iPhone 14 Pro Max",
7+
"iPad Pro (12.9-inch) (5th generation)",
58
])
69

710
languages([
@@ -13,7 +16,9 @@ languages([
1316
scheme("Snapshots")
1417

1518
# Set the status bar to 9:41 AM, and show full battery and reception. See also override_status_bar_arguments for custom options.
19+
ENV["SNAPSHOT_SIMULATOR_WAIT_FOR_BOOT_TIMEOUT"] = "10" # This should already be the default value, but it isn't for some reason
1620
override_status_bar(true)
21+
override_status_bar_arguments("--time 2007-01-09T09:41:00+02:00 --dataNetwork wifi --wifiMode active --wifiBars 3 --cellularMode active --operatorName '' --cellularBars 4 --batteryState charged --batteryLevel 100 --dataNetwork wifi") # Workaround for daylight saving time, probably not needed otherwise
1722

1823
localize_simulator(true)
1924

0 commit comments

Comments
 (0)