Skip to content

Commit c3557cd

Browse files
committed
add Quick/Quick and Quick/Nimble as testing frameworks
1 parent cfe6cae commit c3557cd

File tree

5 files changed

+47
-1
lines changed

5 files changed

+47
-1
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ playground.xcworkspace
4848
# Carthage
4949
#
5050
# Add this line if you want to avoid checking in source code from Carthage dependencies.
51-
# Carthage/Checkouts
51+
Carthage/Checkouts
5252

5353
Carthage/Build
5454

.swiftlint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
excluded:
2+
- Carthage
23
- PlayListPlayerTests
34
line_length: 150

Cartfile.private

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "Quick/Quick"
2+
github "Quick/Nimble"

Cartfile.resolved

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "Quick/Nimble" "v4.1.0"
2+
github "Quick/Quick" "v0.9.3"

PlayListPlayer.xcodeproj/project.pbxproj

+41
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
/* Begin PBXBuildFile section */
1010
273326891D5033CE001462F8 /* PlayListPlayerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 273326881D5033CE001462F8 /* PlayListPlayerType.swift */; };
11+
2733268C1D503542001462F8 /* Nimble.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2733268A1D503542001462F8 /* Nimble.framework */; };
12+
2733268D1D503542001462F8 /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2733268B1D503542001462F8 /* Quick.framework */; };
13+
2733268F1D50354E001462F8 /* Nimble.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 2733268A1D503542001462F8 /* Nimble.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
14+
273326901D50354E001462F8 /* Quick.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 2733268B1D503542001462F8 /* Quick.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1115
73983FFC1D3D0D620001EA78 /* PlayListPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73983FF11D3D0D620001EA78 /* PlayListPlayer.framework */; };
1216
739840011D3D0D620001EA78 /* PlayListPlayerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739840001D3D0D620001EA78 /* PlayListPlayerTests.swift */; };
1317
/* End PBXBuildFile section */
@@ -22,8 +26,24 @@
2226
};
2327
/* End PBXContainerItemProxy section */
2428

29+
/* Begin PBXCopyFilesBuildPhase section */
30+
2733268E1D503545001462F8 /* CopyFiles */ = {
31+
isa = PBXCopyFilesBuildPhase;
32+
buildActionMask = 2147483647;
33+
dstPath = "";
34+
dstSubfolderSpec = 10;
35+
files = (
36+
2733268F1D50354E001462F8 /* Nimble.framework in CopyFiles */,
37+
273326901D50354E001462F8 /* Quick.framework in CopyFiles */,
38+
);
39+
runOnlyForDeploymentPostprocessing = 0;
40+
};
41+
/* End PBXCopyFilesBuildPhase section */
42+
2543
/* Begin PBXFileReference section */
2644
273326881D5033CE001462F8 /* PlayListPlayerType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlayListPlayerType.swift; sourceTree = "<group>"; };
45+
2733268A1D503542001462F8 /* Nimble.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Nimble.framework; path = Carthage/Build/iOS/Nimble.framework; sourceTree = "<group>"; };
46+
2733268B1D503542001462F8 /* Quick.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quick.framework; path = Carthage/Build/iOS/Quick.framework; sourceTree = "<group>"; };
2747
73983FF11D3D0D620001EA78 /* PlayListPlayer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PlayListPlayer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2848
73983FF61D3D0D620001EA78 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2949
73983FFB1D3D0D620001EA78 /* PlayListPlayerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PlayListPlayerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -44,6 +64,8 @@
4464
buildActionMask = 2147483647;
4565
files = (
4666
73983FFC1D3D0D620001EA78 /* PlayListPlayer.framework in Frameworks */,
67+
2733268C1D503542001462F8 /* Nimble.framework in Frameworks */,
68+
2733268D1D503542001462F8 /* Quick.framework in Frameworks */,
4769
);
4870
runOnlyForDeploymentPostprocessing = 0;
4971
};
@@ -58,11 +80,21 @@
5880
path = player;
5981
sourceTree = "<group>";
6082
};
83+
273326911D503559001462F8 /* Frameworks */ = {
84+
isa = PBXGroup;
85+
children = (
86+
2733268A1D503542001462F8 /* Nimble.framework */,
87+
2733268B1D503542001462F8 /* Quick.framework */,
88+
);
89+
name = Frameworks;
90+
sourceTree = "<group>";
91+
};
6192
73983FE71D3D0D620001EA78 = {
6293
isa = PBXGroup;
6394
children = (
6495
73983FF31D3D0D620001EA78 /* PlayListPlayer */,
6596
73983FFF1D3D0D620001EA78 /* PlayListPlayerTests */,
97+
273326911D503559001462F8 /* Frameworks */,
6698
73983FF21D3D0D620001EA78 /* Products */,
6799
);
68100
sourceTree = "<group>";
@@ -141,6 +173,7 @@
141173
73983FF71D3D0D620001EA78 /* Sources */,
142174
73983FF81D3D0D620001EA78 /* Frameworks */,
143175
73983FF91D3D0D620001EA78 /* Resources */,
176+
2733268E1D503545001462F8 /* CopyFiles */,
144177
);
145178
buildRules = (
146179
);
@@ -379,6 +412,10 @@
379412
739840091D3D0D620001EA78 /* Debug */ = {
380413
isa = XCBuildConfiguration;
381414
buildSettings = {
415+
FRAMEWORK_SEARCH_PATHS = (
416+
"$(inherited)",
417+
"$(PROJECT_DIR)/Carthage/Build/iOS",
418+
);
382419
INFOPLIST_FILE = PlayListPlayerTests/Info.plist;
383420
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
384421
PRODUCT_BUNDLE_IDENTIFIER = com.nerd0geek1.PlayListPlayerTests;
@@ -389,6 +426,10 @@
389426
7398400A1D3D0D620001EA78 /* Release */ = {
390427
isa = XCBuildConfiguration;
391428
buildSettings = {
429+
FRAMEWORK_SEARCH_PATHS = (
430+
"$(inherited)",
431+
"$(PROJECT_DIR)/Carthage/Build/iOS",
432+
);
392433
INFOPLIST_FILE = PlayListPlayerTests/Info.plist;
393434
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
394435
PRODUCT_BUNDLE_IDENTIFIER = com.nerd0geek1.PlayListPlayerTests;

0 commit comments

Comments
 (0)