Skip to content

Commit 14b9c56

Browse files
author
ignacio
committed
Disables the test project's autocreate schemes feature, and makes the schemes shared, to (hopefully) fix the build server issues.
1 parent 3b13a80 commit 14b9c56

File tree

7 files changed

+199
-4
lines changed

7 files changed

+199
-4
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ DerivedData
1818
.gutter.json
1919

2020
Tests/Pods
21-
Tests/Podfile.lock
22-
Tests/SlackTextViewControllerTests.xcodeproj/xcshareddata/xcschemes/
21+
Tests/Podfile.lock

Tests/SlackTextViewControllerTests.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
4F13F2D01AE319C400B55A5C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F13F2CB1AE319C400B55A5C /* AppDelegate.m */; };
2020
4F13F2D51AE319C400B55A5C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F13F2CE1AE319C400B55A5C /* main.m */; };
2121
4F13F2D61AE319C400B55A5C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F13F2CE1AE319C400B55A5C /* main.m */; };
22+
4F34849B1AFA89670047FF6F /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F34849A1AFA89670047FF6F /* Default-568h@2x.png */; };
23+
4F34849C1AFA896C0047FF6F /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F34849A1AFA89670047FF6F /* Default-568h@2x.png */; };
2224
9C1CDEF58F483EBE397D107D /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 65733EC04345BFA3E7348982 /* libPods.a */; };
2325
/* End PBXBuildFile section */
2426

@@ -52,6 +54,7 @@
5254
4F13F2CC1AE319C400B55A5C /* Application-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Application-Info.plist"; sourceTree = "<group>"; };
5355
4F13F2CD1AE319C400B55A5C /* Tests-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
5456
4F13F2CE1AE319C400B55A5C /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
57+
4F34849A1AFA89670047FF6F /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
5558
65733EC04345BFA3E7348982 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
5659
8F55D33256EB9B7897C4492B /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
5760
FA34B70E3558A164D91762C3 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
@@ -137,6 +140,7 @@
137140
children = (
138141
4F13F2CA1AE319C400B55A5C /* AppDelegate.h */,
139142
4F13F2CB1AE319C400B55A5C /* AppDelegate.m */,
143+
4F34849A1AFA89670047FF6F /* Default-568h@2x.png */,
140144
4F13F2CC1AE319C400B55A5C /* Application-Info.plist */,
141145
4F13F2CD1AE319C400B55A5C /* Tests-Info.plist */,
142146
4F13F2CE1AE319C400B55A5C /* main.m */,
@@ -244,13 +248,15 @@
244248
isa = PBXResourcesBuildPhase;
245249
buildActionMask = 2147483647;
246250
files = (
251+
4F34849C1AFA896C0047FF6F /* Default-568h@2x.png in Resources */,
247252
);
248253
runOnlyForDeploymentPostprocessing = 0;
249254
};
250255
4F13F2A51AE3190A00B55A5C /* Resources */ = {
251256
isa = PBXResourcesBuildPhase;
252257
buildActionMask = 2147483647;
253258
files = (
259+
4F34849B1AFA89670047FF6F /* Default-568h@2x.png in Resources */,
254260
);
255261
runOnlyForDeploymentPostprocessing = 0;
256262
};
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0630"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "4F13F2A61AE3190A00B55A5C"
18+
BuildableName = "Application.app"
19+
BlueprintName = "Application"
20+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "4F13F2A61AE3190A00B55A5C"
36+
BuildableName = "Application.app"
37+
BlueprintName = "Application"
38+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
</TestAction>
42+
<LaunchAction
43+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
44+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
45+
launchStyle = "0"
46+
useCustomWorkingDirectory = "NO"
47+
buildConfiguration = "Debug"
48+
ignoresPersistentStateOnLaunch = "NO"
49+
debugDocumentVersioning = "YES"
50+
allowLocationSimulation = "YES">
51+
<BuildableProductRunnable
52+
runnableDebuggingMode = "0">
53+
<BuildableReference
54+
BuildableIdentifier = "primary"
55+
BlueprintIdentifier = "4F13F2A61AE3190A00B55A5C"
56+
BuildableName = "Application.app"
57+
BlueprintName = "Application"
58+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
59+
</BuildableReference>
60+
</BuildableProductRunnable>
61+
<AdditionalOptions>
62+
</AdditionalOptions>
63+
</LaunchAction>
64+
<ProfileAction
65+
shouldUseLaunchSchemeArgsEnv = "YES"
66+
savedToolIdentifier = ""
67+
useCustomWorkingDirectory = "NO"
68+
buildConfiguration = "Release"
69+
debugDocumentVersioning = "YES">
70+
<BuildableProductRunnable
71+
runnableDebuggingMode = "0">
72+
<BuildableReference
73+
BuildableIdentifier = "primary"
74+
BlueprintIdentifier = "4F13F2A61AE3190A00B55A5C"
75+
BuildableName = "Application.app"
76+
BlueprintName = "Application"
77+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
78+
</BuildableReference>
79+
</BuildableProductRunnable>
80+
</ProfileAction>
81+
<AnalyzeAction
82+
buildConfiguration = "Debug">
83+
</AnalyzeAction>
84+
<ArchiveAction
85+
buildConfiguration = "Release"
86+
revealArchiveInOrganizer = "YES">
87+
</ArchiveAction>
88+
</Scheme>
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0630"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "NO"
13+
buildForArchiving = "NO"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "4F13F2821AE3140200B55A5C"
18+
BuildableName = "Tests.xctest"
19+
BlueprintName = "Tests"
20+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "4F13F2821AE3140200B55A5C"
36+
BuildableName = "Tests.xctest"
37+
BlueprintName = "Tests"
38+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "4F13F2821AE3140200B55A5C"
46+
BuildableName = "Tests.xctest"
47+
BlueprintName = "Tests"
48+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
</TestAction>
52+
<LaunchAction
53+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
54+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
55+
launchStyle = "0"
56+
useCustomWorkingDirectory = "NO"
57+
buildConfiguration = "Debug"
58+
ignoresPersistentStateOnLaunch = "NO"
59+
debugDocumentVersioning = "YES"
60+
allowLocationSimulation = "YES">
61+
<MacroExpansion>
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "4F13F2821AE3140200B55A5C"
65+
BuildableName = "Tests.xctest"
66+
BlueprintName = "Tests"
67+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
68+
</BuildableReference>
69+
</MacroExpansion>
70+
<AdditionalOptions>
71+
</AdditionalOptions>
72+
</LaunchAction>
73+
<ProfileAction
74+
shouldUseLaunchSchemeArgsEnv = "YES"
75+
savedToolIdentifier = ""
76+
useCustomWorkingDirectory = "NO"
77+
buildConfiguration = "Release"
78+
debugDocumentVersioning = "YES">
79+
<MacroExpansion>
80+
<BuildableReference
81+
BuildableIdentifier = "primary"
82+
BlueprintIdentifier = "4F13F2821AE3140200B55A5C"
83+
BuildableName = "Tests.xctest"
84+
BlueprintName = "Tests"
85+
ReferencedContainer = "container:SlackTextViewControllerTests.xcodeproj">
86+
</BuildableReference>
87+
</MacroExpansion>
88+
</ProfileAction>
89+
<AnalyzeAction
90+
buildConfiguration = "Debug">
91+
</AnalyzeAction>
92+
<ArchiveAction
93+
buildConfiguration = "Release"
94+
revealArchiveInOrganizer = "YES">
95+
</ArchiveAction>
96+
</Scheme>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
6+
<false/>
7+
</dict>
8+
</plist>

Tests/Supporting Files/Application-Info.plist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25-
<key>UILaunchStoryboardName</key>
26-
<string>LaunchScreen</string>
2725
<key>UIRequiredDeviceCapabilities</key>
2826
<array>
2927
<string>armv7</string>
18.2 KB
Loading

0 commit comments

Comments
 (0)