Skip to content

Commit c695679

Browse files
committed
Test the tvOS target
1 parent e4c4aa4 commit c695679

File tree

4 files changed

+164
-9
lines changed

4 files changed

+164
-9
lines changed

Rex.xcodeproj/project.pbxproj

Lines changed: 137 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@
7373
D8715DCA1C211553005F4191 /* UILabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = D86FFBD71B34B242001A89B3 /* UILabel.swift */; };
7474
D8715DCB1C211553005F4191 /* UIImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8289A2E21BD7EF740097FB60 /* UIImageView.swift */; };
7575
D8715DCC1C211553005F4191 /* UIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8289A2E41BD7F6DD0097FB60 /* UIView.swift */; };
76+
D8715DDC1C211637005F4191 /* PropertyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8A454081BD2772700C9E790 /* PropertyTests.swift */; };
77+
D8715DDD1C211637005F4191 /* SignalTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8003EBE1AFED2F800D7D3C5 /* SignalTests.swift */; };
78+
D8715DDE1C211637005F4191 /* SignalProducerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8003EC01AFED30100D7D3C5 /* SignalProducerTests.swift */; };
79+
D8715DDF1C21163B005F4191 /* NSObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8F097471B17F5DD002E15BA /* NSObjectTests.swift */; };
80+
D8715DE01C211643005F4191 /* UIBarButtonItemTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8295FD8B1B873748007C9000 /* UIBarButtonItemTests.swift */; };
81+
D8715DE11C211643005F4191 /* UIButtonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8295FD881B873490007C9000 /* UIButtonTests.swift */; };
82+
D8715DE21C211643005F4191 /* UIControlTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8295FD851B873081007C9000 /* UIControlTests.swift */; };
83+
D8715DE31C211643005F4191 /* UILabelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8F073141B861B3A0047D546 /* UILabelTests.swift */; };
84+
D8715DE41C211643005F4191 /* UIImageViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8289A2E01BD7EF1F0097FB60 /* UIImageViewTests.swift */; };
85+
D8715DE51C211643005F4191 /* UIViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8289A2E61BD7F7730097FB60 /* UIViewTests.swift */; };
86+
D8715DE61C21170C005F4191 /* ReactiveCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8715DC21C211310005F4191 /* ReactiveCocoa.framework */; };
87+
D8715DE71C21170C005F4191 /* Result.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8715DC31C211310005F4191 /* Result.framework */; };
88+
D8715DE91C211739005F4191 /* ReactiveCocoa.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D8715DC21C211310005F4191 /* ReactiveCocoa.framework */; };
89+
D8715DEA1C211739005F4191 /* Result.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = D8715DC31C211310005F4191 /* Result.framework */; };
7690
D8A454061BD26A1A00C9E790 /* Property.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8A454051BD26A1A00C9E790 /* Property.swift */; };
7791
D8A454071BD26A1A00C9E790 /* Property.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8A454051BD26A1A00C9E790 /* Property.swift */; };
7892
D8A454091BD2772700C9E790 /* PropertyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8A454081BD2772700C9E790 /* PropertyTests.swift */; };
@@ -105,6 +119,13 @@
105119
remoteGlobalIDString = D83457131AFEE44E0070616A;
106120
remoteInfo = "Rex-iOS";
107121
};
122+
D8715DD71C21160A005F4191 /* PBXContainerItemProxy */ = {
123+
isa = PBXContainerItemProxy;
124+
containerPortal = D8003E851AFEC3D400D7D3C5 /* Project object */;
125+
proxyType = 1;
126+
remoteGlobalIDString = D8715DAF1C21123E005F4191;
127+
remoteInfo = "Rex-tvOS";
128+
};
108129
/* End PBXContainerItemProxy section */
109130

110131
/* Begin PBXCopyFilesBuildPhase section */
@@ -130,6 +151,17 @@
130151
);
131152
runOnlyForDeploymentPostprocessing = 0;
132153
};
154+
D8715DE81C21172A005F4191 /* CopyFiles */ = {
155+
isa = PBXCopyFilesBuildPhase;
156+
buildActionMask = 2147483647;
157+
dstPath = "";
158+
dstSubfolderSpec = 16;
159+
files = (
160+
D8715DE91C211739005F4191 /* ReactiveCocoa.framework in CopyFiles */,
161+
D8715DEA1C211739005F4191 /* Result.framework in CopyFiles */,
162+
);
163+
runOnlyForDeploymentPostprocessing = 0;
164+
};
133165
/* End PBXCopyFilesBuildPhase section */
134166

135167
/* Begin PBXFileReference section */
@@ -169,6 +201,7 @@
169201
D8715DB01C21123E005F4191 /* Rex.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Rex.framework; sourceTree = BUILT_PRODUCTS_DIR; };
170202
D8715DC21C211310005F4191 /* ReactiveCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ReactiveCocoa.framework; path = tvOS/ReactiveCocoa.framework; sourceTree = "<group>"; };
171203
D8715DC31C211310005F4191 /* Result.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Result.framework; path = tvOS/Result.framework; sourceTree = "<group>"; };
204+
D8715DD11C21160A005F4191 /* RexTests-tvOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "RexTests-tvOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
172205
D8A454051BD26A1A00C9E790 /* Property.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Property.swift; sourceTree = "<group>"; };
173206
D8A454081BD2772700C9E790 /* PropertyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PropertyTests.swift; sourceTree = "<group>"; };
174207
D8F073141B861B3A0047D546 /* UILabelTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UILabelTests.swift; sourceTree = "<group>"; };
@@ -233,6 +266,15 @@
233266
);
234267
runOnlyForDeploymentPostprocessing = 0;
235268
};
269+
D8715DCE1C21160A005F4191 /* Frameworks */ = {
270+
isa = PBXFrameworksBuildPhase;
271+
buildActionMask = 2147483647;
272+
files = (
273+
D8715DE61C21170C005F4191 /* ReactiveCocoa.framework in Frameworks */,
274+
D8715DE71C21170C005F4191 /* Result.framework in Frameworks */,
275+
);
276+
runOnlyForDeploymentPostprocessing = 0;
277+
};
236278
/* End PBXFrameworksBuildPhase section */
237279

238280
/* Begin PBXGroup section */
@@ -360,6 +402,7 @@
360402
isa = PBXGroup;
361403
children = (
362404
D8715DB01C21123E005F4191 /* Rex.framework */,
405+
D8715DD11C21160A005F4191 /* RexTests-tvOS.xctest */,
363406
D8715DC21C211310005F4191 /* ReactiveCocoa.framework */,
364407
D8715DC31C211310005F4191 /* Result.framework */,
365408
);
@@ -546,13 +589,32 @@
546589
productReference = D8715DB01C21123E005F4191 /* Rex.framework */;
547590
productType = "com.apple.product-type.framework";
548591
};
592+
D8715DD01C21160A005F4191 /* RexTests-tvOS */ = {
593+
isa = PBXNativeTarget;
594+
buildConfigurationList = D8715DD91C21160A005F4191 /* Build configuration list for PBXNativeTarget "RexTests-tvOS" */;
595+
buildPhases = (
596+
D8715DCD1C21160A005F4191 /* Sources */,
597+
D8715DCE1C21160A005F4191 /* Frameworks */,
598+
D8715DCF1C21160A005F4191 /* Resources */,
599+
D8715DE81C21172A005F4191 /* CopyFiles */,
600+
);
601+
buildRules = (
602+
);
603+
dependencies = (
604+
D8715DD81C21160A005F4191 /* PBXTargetDependency */,
605+
);
606+
name = "RexTests-tvOS";
607+
productName = RexTests;
608+
productReference = D8715DD11C21160A005F4191 /* RexTests-tvOS.xctest */;
609+
productType = "com.apple.product-type.bundle.unit-test";
610+
};
549611
/* End PBXNativeTarget section */
550612

551613
/* Begin PBXProject section */
552614
D8003E851AFEC3D400D7D3C5 /* Project object */ = {
553615
isa = PBXProject;
554616
attributes = {
555-
LastSwiftUpdateCheck = 0700;
617+
LastSwiftUpdateCheck = 0720;
556618
LastUpgradeCheck = 0700;
557619
ORGANIZATIONNAME = "Neil Pankey";
558620
TargetAttributes = {
@@ -574,6 +636,9 @@
574636
D8715DAF1C21123E005F4191 = {
575637
CreatedOnToolsVersion = 7.2;
576638
};
639+
D8715DD01C21160A005F4191 = {
640+
CreatedOnToolsVersion = 7.2;
641+
};
577642
};
578643
};
579644
buildConfigurationList = D8003E881AFEC3D400D7D3C5 /* Build configuration list for PBXProject "Rex" */;
@@ -593,6 +658,7 @@
593658
D83457131AFEE44E0070616A /* Rex-iOS */,
594659
D834571D1AFEE44E0070616A /* RexTests-iOS */,
595660
D8715DAF1C21123E005F4191 /* Rex-tvOS */,
661+
D8715DD01C21160A005F4191 /* RexTests-tvOS */,
596662
D8715D931C210F97005F4191 /* Rex-watchOS */,
597663
);
598664
};
@@ -641,6 +707,13 @@
641707
);
642708
runOnlyForDeploymentPostprocessing = 0;
643709
};
710+
D8715DCF1C21160A005F4191 /* Resources */ = {
711+
isa = PBXResourcesBuildPhase;
712+
buildActionMask = 2147483647;
713+
files = (
714+
);
715+
runOnlyForDeploymentPostprocessing = 0;
716+
};
644717
/* End PBXResourcesBuildPhase section */
645718

646719
/* Begin PBXSourcesBuildPhase section */
@@ -747,6 +820,23 @@
747820
);
748821
runOnlyForDeploymentPostprocessing = 0;
749822
};
823+
D8715DCD1C21160A005F4191 /* Sources */ = {
824+
isa = PBXSourcesBuildPhase;
825+
buildActionMask = 2147483647;
826+
files = (
827+
D8715DE51C211643005F4191 /* UIViewTests.swift in Sources */,
828+
D8715DDE1C211637005F4191 /* SignalProducerTests.swift in Sources */,
829+
D8715DE11C211643005F4191 /* UIButtonTests.swift in Sources */,
830+
D8715DE21C211643005F4191 /* UIControlTests.swift in Sources */,
831+
D8715DDF1C21163B005F4191 /* NSObjectTests.swift in Sources */,
832+
D8715DDC1C211637005F4191 /* PropertyTests.swift in Sources */,
833+
D8715DDD1C211637005F4191 /* SignalTests.swift in Sources */,
834+
D8715DE41C211643005F4191 /* UIImageViewTests.swift in Sources */,
835+
D8715DE31C211643005F4191 /* UILabelTests.swift in Sources */,
836+
D8715DE01C211643005F4191 /* UIBarButtonItemTests.swift in Sources */,
837+
);
838+
runOnlyForDeploymentPostprocessing = 0;
839+
};
750840
/* End PBXSourcesBuildPhase section */
751841

752842
/* Begin PBXTargetDependency section */
@@ -760,6 +850,11 @@
760850
target = D83457131AFEE44E0070616A /* Rex-iOS */;
761851
targetProxy = D83457201AFEE44E0070616A /* PBXContainerItemProxy */;
762852
};
853+
D8715DD81C21160A005F4191 /* PBXTargetDependency */ = {
854+
isa = PBXTargetDependency;
855+
target = D8715DAF1C21123E005F4191 /* Rex-tvOS */;
856+
targetProxy = D8715DD71C21160A005F4191 /* PBXContainerItemProxy */;
857+
};
763858
/* End PBXTargetDependency section */
764859

765860
/* Begin XCBuildConfiguration section */
@@ -1135,6 +1230,39 @@
11351230
};
11361231
name = Release;
11371232
};
1233+
D8715DDA1C21160A005F4191 /* Debug */ = {
1234+
isa = XCBuildConfiguration;
1235+
buildSettings = {
1236+
FRAMEWORK_SEARCH_PATHS = (
1237+
"$(inherited)",
1238+
"$(PROJECT_DIR)/Carthage/Build/tvOS",
1239+
);
1240+
INFOPLIST_FILE = Tests/Info.plist;
1241+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1242+
PRODUCT_BUNDLE_IDENTIFIER = me.neilpa.RexTests;
1243+
PRODUCT_NAME = "$(TARGET_NAME)";
1244+
SDKROOT = appletvos;
1245+
TVOS_DEPLOYMENT_TARGET = 9.0;
1246+
};
1247+
name = Debug;
1248+
};
1249+
D8715DDB1C21160A005F4191 /* Release */ = {
1250+
isa = XCBuildConfiguration;
1251+
buildSettings = {
1252+
FRAMEWORK_SEARCH_PATHS = (
1253+
"$(inherited)",
1254+
"$(PROJECT_DIR)/Carthage/Build/tvOS",
1255+
);
1256+
INFOPLIST_FILE = Tests/Info.plist;
1257+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1258+
PRODUCT_BUNDLE_IDENTIFIER = me.neilpa.RexTests;
1259+
PRODUCT_NAME = "$(TARGET_NAME)";
1260+
SDKROOT = appletvos;
1261+
TVOS_DEPLOYMENT_TARGET = 9.0;
1262+
VALIDATE_PRODUCT = YES;
1263+
};
1264+
name = Release;
1265+
};
11381266
/* End XCBuildConfiguration section */
11391267

11401268
/* Begin XCConfigurationList section */
@@ -1199,6 +1327,14 @@
11991327
);
12001328
defaultConfigurationIsVisible = 0;
12011329
};
1330+
D8715DD91C21160A005F4191 /* Build configuration list for PBXNativeTarget "RexTests-tvOS" */ = {
1331+
isa = XCConfigurationList;
1332+
buildConfigurations = (
1333+
D8715DDA1C21160A005F4191 /* Debug */,
1334+
D8715DDB1C21160A005F4191 /* Release */,
1335+
);
1336+
defaultConfigurationIsVisible = 0;
1337+
};
12021338
/* End XCConfigurationList section */
12031339
};
12041340
rootObject = D8003E851AFEC3D400D7D3C5 /* Project object */;

Rex.xcodeproj/xcshareddata/xcschemes/Rex-Mac.xcscheme

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
</BuildActionEntries>
3838
</BuildAction>
3939
<TestAction
40+
buildConfiguration = "Debug"
4041
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4142
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42-
shouldUseLaunchSchemeArgsEnv = "YES"
43-
buildConfiguration = "Debug">
43+
shouldUseLaunchSchemeArgsEnv = "YES">
4444
<Testables>
4545
<TestableReference
4646
skipped = "NO">
@@ -66,11 +66,11 @@
6666
</AdditionalOptions>
6767
</TestAction>
6868
<LaunchAction
69+
buildConfiguration = "Debug"
6970
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7071
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
7172
launchStyle = "0"
7273
useCustomWorkingDirectory = "NO"
73-
buildConfiguration = "Debug"
7474
ignoresPersistentStateOnLaunch = "NO"
7575
debugDocumentVersioning = "YES"
7676
debugServiceExtension = "internal"
@@ -88,10 +88,10 @@
8888
</AdditionalOptions>
8989
</LaunchAction>
9090
<ProfileAction
91+
buildConfiguration = "Release"
9192
shouldUseLaunchSchemeArgsEnv = "YES"
9293
savedToolIdentifier = ""
9394
useCustomWorkingDirectory = "NO"
94-
buildConfiguration = "Release"
9595
debugDocumentVersioning = "YES">
9696
<MacroExpansion>
9797
<BuildableReference

Rex.xcodeproj/xcshareddata/xcschemes/Rex-iOS.xcscheme

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
</BuildActionEntries>
3838
</BuildAction>
3939
<TestAction
40+
buildConfiguration = "Debug"
4041
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4142
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42-
shouldUseLaunchSchemeArgsEnv = "YES"
43-
buildConfiguration = "Debug">
43+
shouldUseLaunchSchemeArgsEnv = "YES">
4444
<Testables>
4545
<TestableReference
4646
skipped = "NO">
@@ -66,11 +66,11 @@
6666
</AdditionalOptions>
6767
</TestAction>
6868
<LaunchAction
69+
buildConfiguration = "Debug"
6970
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7071
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
7172
launchStyle = "0"
7273
useCustomWorkingDirectory = "NO"
73-
buildConfiguration = "Debug"
7474
ignoresPersistentStateOnLaunch = "NO"
7575
debugDocumentVersioning = "YES"
7676
debugServiceExtension = "internal"
@@ -88,10 +88,10 @@
8888
</AdditionalOptions>
8989
</LaunchAction>
9090
<ProfileAction
91+
buildConfiguration = "Release"
9192
shouldUseLaunchSchemeArgsEnv = "YES"
9293
savedToolIdentifier = ""
9394
useCustomWorkingDirectory = "NO"
94-
buildConfiguration = "Release"
9595
debugDocumentVersioning = "YES">
9696
<MacroExpansion>
9797
<BuildableReference

Rex.xcodeproj/xcshareddata/xcschemes/Rex-tvOS.xcscheme

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,26 @@
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "D8715DD01C21160A005F4191"
36+
BuildableName = "RexTests-tvOS.xctest"
37+
BlueprintName = "RexTests-tvOS"
38+
ReferencedContainer = "container:Rex.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
3141
</Testables>
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "D8715DAF1C21123E005F4191"
46+
BuildableName = "Rex.framework"
47+
BlueprintName = "Rex-tvOS"
48+
ReferencedContainer = "container:Rex.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
3251
<AdditionalOptions>
3352
</AdditionalOptions>
3453
</TestAction>

0 commit comments

Comments
 (0)