summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-09-10 10:07:15 +0200
committerAndrej Mihajlov <and@mullvad.net>2020-09-10 18:12:59 +0200
commitaa58fbd091b22fb1ecd4450b97cbf35e69f49eeb (patch)
treec2af0a1bb3da6e8b4b7f6b25608161107c42df0a /ios
parent0d19a997466ce80380718f5f3f7a8c0fec0baf6c (diff)
downloadmullvadvpn-aa58fbd091b22fb1ecd4450b97cbf35e69f49eeb.tar.xz
mullvadvpn-aa58fbd091b22fb1ecd4450b97cbf35e69f49eeb.zip
Snapfile: clean up device status bar
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme38
-rw-r--r--ios/Snapfile3
2 files changed, 4 insertions, 37 deletions
diff --git a/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme b/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme
index 876c131f1f..dafedb1356 100644
--- a/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme
+++ b/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
- version = "1.7">
+ version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
@@ -28,42 +28,6 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
systemAttachmentLifetime = "keepNever">
- <PreActions>
- <ExecutionAction
- ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
- <ActionContent
- title = "Run Script"
- scriptText = "xcrun simctl boot &quot;${TARGET_DEVICE_IDENTIFIER}&quot;&#10;xcrun simctl status_bar &quot;${TARGET_DEVICE_IDENTIFIER}&quot; override \&#10; --time &quot;9:41&quot; \&#10; --dataNetwork wifi \&#10; --wifiMode active \&#10; --wifiBars 3 \&#10; --cellularMode notSupported \&#10; --batteryState charged \&#10; --batteryLevel 100&#10;">
- <EnvironmentBuildable>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "58D0C79223F1CE7000FE9BA7"
- BuildableName = "MullvadVPNScreenshots.xctest"
- BlueprintName = "MullvadVPNScreenshots"
- ReferencedContainer = "container:MullvadVPN.xcodeproj">
- </BuildableReference>
- </EnvironmentBuildable>
- </ActionContent>
- </ExecutionAction>
- </PreActions>
- <PostActions>
- <ExecutionAction
- ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
- <ActionContent
- title = "Run Script"
- scriptText = "xcrun simctl status_bar &quot;${TARGET_DEVICE_IDENTIFIER}&quot; clear&#10;">
- <EnvironmentBuildable>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "58D0C79223F1CE7000FE9BA7"
- BuildableName = "MullvadVPNScreenshots.xctest"
- BlueprintName = "MullvadVPNScreenshots"
- ReferencedContainer = "container:MullvadVPN.xcodeproj">
- </BuildableReference>
- </EnvironmentBuildable>
- </ActionContent>
- </ExecutionAction>
- </PostActions>
<Testables>
<TestableReference
skipped = "NO">
diff --git a/ios/Snapfile b/ios/Snapfile
index 64a28a666e..d73fe87c62 100644
--- a/ios/Snapfile
+++ b/ios/Snapfile
@@ -29,6 +29,9 @@ erase_simulator(true)
# Disable concurrent simulators to prevent too many WireGuard public keys error
concurrent_simulators(false)
+# Clean the device statusbar
+override_status_bar(true)
+
# Arguments to pass to the app on launch. See https://docs.fastlane.tools/actions/snapshot/#launch-arguments
# launch_arguments(["-favColor red"])