diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-02-17 16:52:56 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-02-18 12:02:05 +0100 |
| commit | 79136267dcd75ff5b4d11cad6090a529af88d3a8 (patch) | |
| tree | 51b7f27dc70a5c030bc6e552b2c0596ee7df3777 | |
| parent | 06a01e394f011bd8ae689aa9c206b20010c000b6 (diff) | |
| download | mullvadvpn-79136267dcd75ff5b4d11cad6090a529af88d3a8.tar.xz mullvadvpn-79136267dcd75ff5b4d11cad6090a529af88d3a8.zip | |
Add pre and post actions for Screenshots target to clean up the statusbar
| -rw-r--r-- | ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme b/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme index dafedb1356..876c131f1f 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.3"> + version = "1.7"> <BuildAction parallelizeBuildables = "YES" buildImplicitDependencies = "YES"> @@ -28,6 +28,42 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES" systemAttachmentLifetime = "keepNever"> + <PreActions> + <ExecutionAction + ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction"> + <ActionContent + title = "Run Script" + scriptText = "xcrun simctl boot "${TARGET_DEVICE_IDENTIFIER}" xcrun simctl status_bar "${TARGET_DEVICE_IDENTIFIER}" override \ --time "9:41" \ --dataNetwork wifi \ --wifiMode active \ --wifiBars 3 \ --cellularMode notSupported \ --batteryState charged \ --batteryLevel 100 "> + <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 "${TARGET_DEVICE_IDENTIFIER}" clear "> + <EnvironmentBuildable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "58D0C79223F1CE7000FE9BA7" + BuildableName = "MullvadVPNScreenshots.xctest" + BlueprintName = "MullvadVPNScreenshots" + ReferencedContainer = "container:MullvadVPN.xcodeproj"> + </BuildableReference> + </EnvironmentBuildable> + </ActionContent> + </ExecutionAction> + </PostActions> <Testables> <TestableReference skipped = "NO"> |
