summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-02-18 12:58:51 +0100
committerAndrej Mihajlov <and@mullvad.net>2020-02-18 12:58:51 +0100
commit354c7feec88797e6696dbbc7a5177187baae3a2e (patch)
tree7836ef84436feec438638c9877bab8dccb44cc0c
parent98d5ee202c340fc3d373079203fb4588fb4d1ebf (diff)
parent655e96b5c84d15dde4d0de4c75465a5e92e43a58 (diff)
downloadmullvadvpn-354c7feec88797e6696dbbc7a5177187baae3a2e.tar.xz
mullvadvpn-354c7feec88797e6696dbbc7a5177187baae3a2e.zip
Merge branch 'clean-ios-simulator-statusbar'
-rw-r--r--ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPN.xcscheme10
-rw-r--r--ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPNScreenshots.xcscheme38
2 files changed, 37 insertions, 11 deletions
diff --git a/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPN.xcscheme b/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPN.xcscheme
index 310f6c6621..43022eb3fb 100644
--- a/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPN.xcscheme
+++ b/ios/MullvadVPN.xcodeproj/xcshareddata/xcschemes/MullvadVPN.xcscheme
@@ -42,16 +42,6 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
- BlueprintIdentifier = "584B26F0237434D00073B10E"
- BuildableName = "RelaySelectorTests.xctest"
- BlueprintName = "RelaySelectorTests"
- ReferencedContainer = "container:MullvadVPN.xcodeproj">
- </BuildableReference>
- </TestableReference>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
BlueprintIdentifier = "58D0C79223F1CE7000FE9BA7"
BuildableName = "MullvadVPNScreenshots.xctest"
BlueprintName = "MullvadVPNScreenshots"
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 &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">