Skip to content

Commit 5e0ca14

Browse files
Fix for: Tests target not found (was failing due to renaming operation failure). Adding OSX like target. Using the null identity for signing
1 parent 9409908 commit 5e0ca14

File tree

2 files changed

+71
-69
lines changed

2 files changed

+71
-69
lines changed

Bucket Sort/Tests/Tests.xcodeproj/project.pbxproj

Lines changed: 68 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
768206991CBCEA94008B2B5A /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 768206971CBCEA94008B2B5A /* Tests.swift */; };
11-
7682069F1CBCEC82008B2B5A /* BucketSort.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7682069E1CBCEC82008B2B5A /* BucketSort.swift */; };
10+
76E90BEB1CBFB317009E04FE /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76E90BEA1CBFB317009E04FE /* Tests.swift */; };
11+
76E90BED1CBFB322009E04FE /* BucketSort.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76E90BEC1CBFB322009E04FE /* BucketSort.swift */; };
1212
/* End PBXBuildFile section */
1313

1414
/* Begin PBXFileReference section */
15-
768206961CBCEA94008B2B5A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = SOURCE_ROOT; };
16-
768206971CBCEA94008B2B5A /* Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = SOURCE_ROOT; };
17-
7682069D1CBCEC47008B2B5A /* Tests.temp_caseinsensitive_rename.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = Tests.temp_caseinsensitive_rename.xctest; path = "/Users/barbararodeker/Desktop/Projects/SwiftAlgorithms/swift-algorithm-club/Bucket Sort/Tests/build/Debug-iphoneos/Tests.temp_caseinsensitive_rename.xctest"; sourceTree = "<absolute>"; };
18-
7682069E1CBCEC82008B2B5A /* BucketSort.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = BucketSort.swift; path = ../BucketSort.swift; sourceTree = SOURCE_ROOT; };
15+
76E90BEA1CBFB317009E04FE /* Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = SOURCE_ROOT; };
16+
76E90BEC1CBFB322009E04FE /* BucketSort.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = BucketSort.swift; path = ../BucketSort.swift; sourceTree = SOURCE_ROOT; };
17+
7B2BBC801C779D720067B71D /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
18+
7B2BBC941C779E7B0067B71D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = SOURCE_ROOT; };
1919
/* End PBXFileReference section */
2020

2121
/* Begin PBXFrameworksBuildPhase section */
22-
76CC7DB31CB41D07003398A8 /* Frameworks */ = {
22+
7B2BBC7D1C779D720067B71D /* Frameworks */ = {
2323
isa = PBXFrameworksBuildPhase;
2424
buildActionMask = 2147483647;
2525
files = (
@@ -29,81 +29,88 @@
2929
/* End PBXFrameworksBuildPhase section */
3030

3131
/* Begin PBXGroup section */
32-
76CC7D991CB41D03003398A8 = {
32+
7B2BBC681C779D710067B71D = {
3333
isa = PBXGroup;
3434
children = (
35-
76CC7DB91CB41D07003398A8 /* Tests */,
35+
7B2BBC831C779D720067B71D /* Tests */,
36+
7B2BBC721C779D710067B71D /* Products */,
3637
);
3738
sourceTree = "<group>";
3839
};
39-
76CC7DB91CB41D07003398A8 /* Tests */ = {
40+
7B2BBC721C779D710067B71D /* Products */ = {
4041
isa = PBXGroup;
4142
children = (
42-
768206971CBCEA94008B2B5A /* Tests.swift */,
43-
7682069E1CBCEC82008B2B5A /* BucketSort.swift */,
44-
768206961CBCEA94008B2B5A /* Info.plist */,
43+
7B2BBC801C779D720067B71D /* Tests.xctest */,
44+
);
45+
name = Products;
46+
sourceTree = "<group>";
47+
};
48+
7B2BBC831C779D720067B71D /* Tests */ = {
49+
isa = PBXGroup;
50+
children = (
51+
76E90BEA1CBFB317009E04FE /* Tests.swift */,
52+
76E90BEC1CBFB322009E04FE /* BucketSort.swift */,
53+
7B2BBC941C779E7B0067B71D /* Info.plist */,
4554
);
4655
name = Tests;
47-
path = TestTests;
56+
path = TestsTests;
4857
sourceTree = "<group>";
4958
};
5059
/* End PBXGroup section */
5160

5261
/* Begin PBXNativeTarget section */
53-
76CC7DB51CB41D07003398A8 /* Tests */ = {
62+
7B2BBC7F1C779D720067B71D /* Tests */ = {
5463
isa = PBXNativeTarget;
55-
buildConfigurationList = 76CC7DC21CB41D07003398A8 /* Build configuration list for PBXNativeTarget "Tests" */;
64+
buildConfigurationList = 7B2BBC8C1C779D720067B71D /* Build configuration list for PBXNativeTarget "Tests" */;
5665
buildPhases = (
57-
76CC7DB21CB41D07003398A8 /* Sources */,
58-
76CC7DB31CB41D07003398A8 /* Frameworks */,
59-
76CC7DB41CB41D07003398A8 /* Resources */,
66+
7B2BBC7C1C779D720067B71D /* Sources */,
67+
7B2BBC7D1C779D720067B71D /* Frameworks */,
68+
7B2BBC7E1C779D720067B71D /* Resources */,
6069
);
6170
buildRules = (
6271
);
6372
dependencies = (
6473
);
6574
name = Tests;
66-
productName = TestTests;
67-
productReference = 7682069D1CBCEC47008B2B5A /* Tests.temp_caseinsensitive_rename.xctest */;
75+
productName = TestsTests;
76+
productReference = 7B2BBC801C779D720067B71D /* Tests.xctest */;
6877
productType = "com.apple.product-type.bundle.unit-test";
6978
};
7079
/* End PBXNativeTarget section */
7180

7281
/* Begin PBXProject section */
73-
76CC7D9A1CB41D03003398A8 /* Project object */ = {
82+
7B2BBC691C779D710067B71D /* Project object */ = {
7483
isa = PBXProject;
7584
attributes = {
7685
LastSwiftUpdateCheck = 0730;
77-
LastUpgradeCheck = 0730;
78-
ORGANIZATIONNAME = "Barbara M. Rodeker";
86+
LastUpgradeCheck = 0720;
87+
ORGANIZATIONNAME = "Swift Algorithm Club";
7988
TargetAttributes = {
80-
76CC7DB51CB41D07003398A8 = {
81-
CreatedOnToolsVersion = 7.3;
82-
DevelopmentTeam = 6V43LV5QCY;
83-
TestTargetID = 76CC7DA11CB41D03003398A8;
89+
7B2BBC7F1C779D720067B71D = {
90+
CreatedOnToolsVersion = 7.2;
8491
};
8592
};
8693
};
87-
buildConfigurationList = 76CC7D9D1CB41D03003398A8 /* Build configuration list for PBXProject "Tests" */;
94+
buildConfigurationList = 7B2BBC6C1C779D710067B71D /* Build configuration list for PBXProject "Tests" */;
8895
compatibilityVersion = "Xcode 3.2";
8996
developmentRegion = English;
9097
hasScannedForEncodings = 0;
9198
knownRegions = (
9299
en,
93100
Base,
94101
);
95-
mainGroup = 76CC7D991CB41D03003398A8;
96-
productRefGroup = 76CC7D991CB41D03003398A8;
102+
mainGroup = 7B2BBC681C779D710067B71D;
103+
productRefGroup = 7B2BBC721C779D710067B71D /* Products */;
97104
projectDirPath = "";
98105
projectRoot = "";
99106
targets = (
100-
76CC7DB51CB41D07003398A8 /* Tests */,
107+
7B2BBC7F1C779D720067B71D /* Tests */,
101108
);
102109
};
103110
/* End PBXProject section */
104111

105112
/* Begin PBXResourcesBuildPhase section */
106-
76CC7DB41CB41D07003398A8 /* Resources */ = {
113+
7B2BBC7E1C779D720067B71D /* Resources */ = {
107114
isa = PBXResourcesBuildPhase;
108115
buildActionMask = 2147483647;
109116
files = (
@@ -113,23 +120,22 @@
113120
/* End PBXResourcesBuildPhase section */
114121

115122
/* Begin PBXSourcesBuildPhase section */
116-
76CC7DB21CB41D07003398A8 /* Sources */ = {
123+
7B2BBC7C1C779D720067B71D /* Sources */ = {
117124
isa = PBXSourcesBuildPhase;
118125
buildActionMask = 2147483647;
119126
files = (
120-
768206991CBCEA94008B2B5A /* Tests.swift in Sources */,
121-
7682069F1CBCEC82008B2B5A /* BucketSort.swift in Sources */,
127+
76E90BEB1CBFB317009E04FE /* Tests.swift in Sources */,
128+
76E90BED1CBFB322009E04FE /* BucketSort.swift in Sources */,
122129
);
123130
runOnlyForDeploymentPostprocessing = 0;
124131
};
125132
/* End PBXSourcesBuildPhase section */
126133

127134
/* Begin XCBuildConfiguration section */
128-
76CC7DBD1CB41D07003398A8 /* Debug */ = {
135+
7B2BBC871C779D720067B71D /* Debug */ = {
129136
isa = XCBuildConfiguration;
130137
buildSettings = {
131138
ALWAYS_SEARCH_USER_PATHS = NO;
132-
CLANG_ANALYZER_NONNULL = YES;
133139
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
134140
CLANG_CXX_LIBRARY = "libc++";
135141
CLANG_ENABLE_MODULES = YES;
@@ -143,7 +149,7 @@
143149
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
144150
CLANG_WARN_UNREACHABLE_CODE = YES;
145151
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
146-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
152+
CODE_SIGN_IDENTITY = "-";
147153
COPY_PHASE_STRIP = NO;
148154
DEBUG_INFORMATION_FORMAT = dwarf;
149155
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -162,19 +168,18 @@
162168
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
163169
GCC_WARN_UNUSED_FUNCTION = YES;
164170
GCC_WARN_UNUSED_VARIABLE = YES;
165-
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
171+
MACOSX_DEPLOYMENT_TARGET = 10.11;
166172
MTL_ENABLE_DEBUG_INFO = YES;
167173
ONLY_ACTIVE_ARCH = YES;
168-
SDKROOT = iphoneos;
174+
SDKROOT = macosx;
169175
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
170176
};
171177
name = Debug;
172178
};
173-
76CC7DBE1CB41D07003398A8 /* Release */ = {
179+
7B2BBC881C779D720067B71D /* Release */ = {
174180
isa = XCBuildConfiguration;
175181
buildSettings = {
176182
ALWAYS_SEARCH_USER_PATHS = NO;
177-
CLANG_ANALYZER_NONNULL = YES;
178183
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
179184
CLANG_CXX_LIBRARY = "libc++";
180185
CLANG_ENABLE_MODULES = YES;
@@ -188,7 +193,7 @@
188193
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
189194
CLANG_WARN_UNREACHABLE_CODE = YES;
190195
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
191-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
196+
CODE_SIGN_IDENTITY = "-";
192197
COPY_PHASE_STRIP = NO;
193198
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
194199
ENABLE_NS_ASSERTIONS = NO;
@@ -201,62 +206,59 @@
201206
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
202207
GCC_WARN_UNUSED_FUNCTION = YES;
203208
GCC_WARN_UNUSED_VARIABLE = YES;
204-
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
209+
MACOSX_DEPLOYMENT_TARGET = 10.11;
205210
MTL_ENABLE_DEBUG_INFO = NO;
206-
SDKROOT = iphoneos;
207-
VALIDATE_PRODUCT = YES;
211+
SDKROOT = macosx;
208212
};
209213
name = Release;
210214
};
211-
76CC7DC31CB41D07003398A8 /* Debug */ = {
215+
7B2BBC8D1C779D720067B71D /* Debug */ = {
212216
isa = XCBuildConfiguration;
213217
buildSettings = {
214-
BUNDLE_LOADER = "";
215218
CLANG_ENABLE_MODULES = YES;
219+
COMBINE_HIDPI_IMAGES = YES;
216220
INFOPLIST_FILE = Info.plist;
217-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
218-
PRODUCT_BUNDLE_IDENTIFIER = com.algorithmsclub.Tests;
219-
PRODUCT_NAME = Tests.temp_caseinsensitive_rename;
221+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
222+
PRODUCT_BUNDLE_IDENTIFIER = swift.algorithm.club.Tests;
223+
PRODUCT_NAME = "$(TARGET_NAME)";
220224
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
221-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Test.app/Test";
222225
};
223226
name = Debug;
224227
};
225-
76CC7DC41CB41D07003398A8 /* Release */ = {
228+
7B2BBC8E1C779D720067B71D /* Release */ = {
226229
isa = XCBuildConfiguration;
227230
buildSettings = {
228-
BUNDLE_LOADER = "";
229231
CLANG_ENABLE_MODULES = YES;
232+
COMBINE_HIDPI_IMAGES = YES;
230233
INFOPLIST_FILE = Info.plist;
231-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
232-
PRODUCT_BUNDLE_IDENTIFIER = com.algorithmsclub.Tests;
233-
PRODUCT_NAME = Tests.temp_caseinsensitive_rename;
234-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Test.app/Test";
234+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
235+
PRODUCT_BUNDLE_IDENTIFIER = swift.algorithm.club.Tests;
236+
PRODUCT_NAME = "$(TARGET_NAME)";
235237
};
236238
name = Release;
237239
};
238240
/* End XCBuildConfiguration section */
239241

240242
/* Begin XCConfigurationList section */
241-
76CC7D9D1CB41D03003398A8 /* Build configuration list for PBXProject "Tests" */ = {
243+
7B2BBC6C1C779D710067B71D /* Build configuration list for PBXProject "Tests" */ = {
242244
isa = XCConfigurationList;
243245
buildConfigurations = (
244-
76CC7DBD1CB41D07003398A8 /* Debug */,
245-
76CC7DBE1CB41D07003398A8 /* Release */,
246+
7B2BBC871C779D720067B71D /* Debug */,
247+
7B2BBC881C779D720067B71D /* Release */,
246248
);
247249
defaultConfigurationIsVisible = 0;
248250
defaultConfigurationName = Release;
249251
};
250-
76CC7DC21CB41D07003398A8 /* Build configuration list for PBXNativeTarget "Tests" */ = {
252+
7B2BBC8C1C779D720067B71D /* Build configuration list for PBXNativeTarget "Tests" */ = {
251253
isa = XCConfigurationList;
252254
buildConfigurations = (
253-
76CC7DC31CB41D07003398A8 /* Debug */,
254-
76CC7DC41CB41D07003398A8 /* Release */,
255+
7B2BBC8D1C779D720067B71D /* Debug */,
256+
7B2BBC8E1C779D720067B71D /* Release */,
255257
);
256258
defaultConfigurationIsVisible = 0;
257259
defaultConfigurationName = Release;
258260
};
259261
/* End XCConfigurationList section */
260262
};
261-
rootObject = 76CC7D9A1CB41D03003398A8 /* Project object */;
263+
rootObject = 7B2BBC691C779D710067B71D /* Project object */;
262264
}

Bucket Sort/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0730"
3+
LastUpgradeVersion = "0720"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -16,8 +16,8 @@
1616
skipped = "NO">
1717
<BuildableReference
1818
BuildableIdentifier = "primary"
19-
BlueprintIdentifier = "76CC7DB51CB41D07003398A8"
20-
BuildableName = "Tests.temp_caseinsensitive_rename.xctest"
19+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
20+
BuildableName = "Tests.xctest"
2121
BlueprintName = "Tests"
2222
ReferencedContainer = "container:Tests.xcodeproj">
2323
</BuildableReference>

0 commit comments

Comments
 (0)