Skip to content

Commit 4071993

Browse files
author
chixiaoming
committed
Replace extractor with Timac/QLCARFiles
1 parent 843fb69 commit 4071993

File tree

13 files changed

+677
-62
lines changed

13 files changed

+677
-62
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ build/
99
!default.mode2v3
1010
*.perspectivev3
1111
!default.perspectivev3
12+
Products/
13+
14+
1215
xcuserdata
1316
*.xccheckout
1417
*.moved-aside

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "CARExtractor/QLCARFiles"]
2+
path = CARExtractor/QLCARFiles
3+
url = https://github.com/devcxm/QLCARFiles.git
Lines changed: 348 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,348 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
8982EB282484F82200BCB558 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8982EB272484F82200BCB558 /* main.m */; };
11+
8982EB362484F92E00BCB558 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8982EB352484F92E00BCB558 /* Foundation.framework */; };
12+
8982EB3F2484F9B400BCB558 /* ImageUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 8982EB3A2484F9B400BCB558 /* ImageUtilities.m */; };
13+
8982EB402484F9B400BCB558 /* CarUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 8982EB3D2484F9B400BCB558 /* CarUtilities.m */; };
14+
8982EB482484FD6700BCB558 /* CoreUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8982EB462484FD6700BCB558 /* CoreUI.framework */; };
15+
/* End PBXBuildFile section */
16+
17+
/* Begin PBXCopyFilesBuildPhase section */
18+
8982EB222484F82200BCB558 /* CopyFiles */ = {
19+
isa = PBXCopyFilesBuildPhase;
20+
buildActionMask = 2147483647;
21+
dstPath = /usr/share/man/man1/;
22+
dstSubfolderSpec = 0;
23+
files = (
24+
);
25+
runOnlyForDeploymentPostprocessing = 1;
26+
};
27+
/* End PBXCopyFilesBuildPhase section */
28+
29+
/* Begin PBXFileReference section */
30+
8982EB242484F82200BCB558 /* CARExtractor */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = CARExtractor; sourceTree = BUILT_PRODUCTS_DIR; };
31+
8982EB272484F82200BCB558 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
32+
8982EB352484F92E00BCB558 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
33+
8982EB3A2484F9B400BCB558 /* ImageUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ImageUtilities.m; sourceTree = "<group>"; };
34+
8982EB3B2484F9B400BCB558 /* CarUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CarUtilities.h; sourceTree = "<group>"; };
35+
8982EB3C2484F9B400BCB558 /* CoreUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CoreUI.h; sourceTree = "<group>"; };
36+
8982EB3D2484F9B400BCB558 /* CarUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CarUtilities.m; sourceTree = "<group>"; };
37+
8982EB3E2484F9B400BCB558 /* ImageUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageUtilities.h; sourceTree = "<group>"; };
38+
8982EB462484FD6700BCB558 /* CoreUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreUI.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/PrivateFrameworks/CoreUI.framework; sourceTree = DEVELOPER_DIR; };
39+
/* End PBXFileReference section */
40+
41+
/* Begin PBXFrameworksBuildPhase section */
42+
8982EB212484F82200BCB558 /* Frameworks */ = {
43+
isa = PBXFrameworksBuildPhase;
44+
buildActionMask = 2147483647;
45+
files = (
46+
8982EB362484F92E00BCB558 /* Foundation.framework in Frameworks */,
47+
8982EB482484FD6700BCB558 /* CoreUI.framework in Frameworks */,
48+
);
49+
runOnlyForDeploymentPostprocessing = 0;
50+
};
51+
/* End PBXFrameworksBuildPhase section */
52+
53+
/* Begin PBXGroup section */
54+
8982EB1B2484F82200BCB558 = {
55+
isa = PBXGroup;
56+
children = (
57+
8982EB262484F82200BCB558 /* CARExtractor */,
58+
8982EB252484F82200BCB558 /* Products */,
59+
8982EB342484F92E00BCB558 /* Frameworks */,
60+
);
61+
sourceTree = "<group>";
62+
};
63+
8982EB252484F82200BCB558 /* Products */ = {
64+
isa = PBXGroup;
65+
children = (
66+
8982EB242484F82200BCB558 /* CARExtractor */,
67+
);
68+
name = Products;
69+
sourceTree = "<group>";
70+
};
71+
8982EB262484F82200BCB558 /* CARExtractor */ = {
72+
isa = PBXGroup;
73+
children = (
74+
8982EB392484F9B400BCB558 /* Common */,
75+
8982EB272484F82200BCB558 /* main.m */,
76+
);
77+
path = CARExtractor;
78+
sourceTree = "<group>";
79+
};
80+
8982EB342484F92E00BCB558 /* Frameworks */ = {
81+
isa = PBXGroup;
82+
children = (
83+
8982EB462484FD6700BCB558 /* CoreUI.framework */,
84+
8982EB352484F92E00BCB558 /* Foundation.framework */,
85+
);
86+
name = Frameworks;
87+
sourceTree = "<group>";
88+
};
89+
8982EB392484F9B400BCB558 /* Common */ = {
90+
isa = PBXGroup;
91+
children = (
92+
8982EB3B2484F9B400BCB558 /* CarUtilities.h */,
93+
8982EB3D2484F9B400BCB558 /* CarUtilities.m */,
94+
8982EB3C2484F9B400BCB558 /* CoreUI.h */,
95+
8982EB3E2484F9B400BCB558 /* ImageUtilities.h */,
96+
8982EB3A2484F9B400BCB558 /* ImageUtilities.m */,
97+
);
98+
name = Common;
99+
path = QLCARFiles/Common;
100+
sourceTree = SOURCE_ROOT;
101+
};
102+
/* End PBXGroup section */
103+
104+
/* Begin PBXNativeTarget section */
105+
8982EB232484F82200BCB558 /* CARExtractor */ = {
106+
isa = PBXNativeTarget;
107+
buildConfigurationList = 8982EB2B2484F82200BCB558 /* Build configuration list for PBXNativeTarget "CARExtractor" */;
108+
buildPhases = (
109+
8982EB202484F82200BCB558 /* Sources */,
110+
8982EB212484F82200BCB558 /* Frameworks */,
111+
8982EB222484F82200BCB558 /* CopyFiles */,
112+
8982EB412484FB3400BCB558 /* ShellScript */,
113+
);
114+
buildRules = (
115+
);
116+
dependencies = (
117+
);
118+
name = CARExtractor;
119+
productName = CARExtractor;
120+
productReference = 8982EB242484F82200BCB558 /* CARExtractor */;
121+
productType = "com.apple.product-type.tool";
122+
};
123+
/* End PBXNativeTarget section */
124+
125+
/* Begin PBXProject section */
126+
8982EB1C2484F82200BCB558 /* Project object */ = {
127+
isa = PBXProject;
128+
attributes = {
129+
LastUpgradeCheck = 1150;
130+
ORGANIZATIONNAME = chi;
131+
TargetAttributes = {
132+
8982EB232484F82200BCB558 = {
133+
CreatedOnToolsVersion = 11.5;
134+
};
135+
};
136+
};
137+
buildConfigurationList = 8982EB1F2484F82200BCB558 /* Build configuration list for PBXProject "CARExtractor" */;
138+
compatibilityVersion = "Xcode 9.3";
139+
developmentRegion = en;
140+
hasScannedForEncodings = 0;
141+
knownRegions = (
142+
en,
143+
Base,
144+
);
145+
mainGroup = 8982EB1B2484F82200BCB558;
146+
productRefGroup = 8982EB252484F82200BCB558 /* Products */;
147+
projectDirPath = "";
148+
projectRoot = "";
149+
targets = (
150+
8982EB232484F82200BCB558 /* CARExtractor */,
151+
);
152+
};
153+
/* End PBXProject section */
154+
155+
/* Begin PBXShellScriptBuildPhase section */
156+
8982EB412484FB3400BCB558 /* ShellScript */ = {
157+
isa = PBXShellScriptBuildPhase;
158+
buildActionMask = 2147483647;
159+
files = (
160+
);
161+
inputFileListPaths = (
162+
);
163+
inputPaths = (
164+
);
165+
outputFileListPaths = (
166+
);
167+
outputPaths = (
168+
);
169+
runOnlyForDeploymentPostprocessing = 0;
170+
shellPath = /bin/sh;
171+
shellScript = "mkdir -p \"${PROJECT_DIR}/../Products\";\ncp \"${TARGET_BUILD_DIR}/${TARGET_NAME}\" \"${PROJECT_DIR}/../Products/${TARGET_NAME}\"\n";
172+
};
173+
/* End PBXShellScriptBuildPhase section */
174+
175+
/* Begin PBXSourcesBuildPhase section */
176+
8982EB202484F82200BCB558 /* Sources */ = {
177+
isa = PBXSourcesBuildPhase;
178+
buildActionMask = 2147483647;
179+
files = (
180+
8982EB3F2484F9B400BCB558 /* ImageUtilities.m in Sources */,
181+
8982EB402484F9B400BCB558 /* CarUtilities.m in Sources */,
182+
8982EB282484F82200BCB558 /* main.m in Sources */,
183+
);
184+
runOnlyForDeploymentPostprocessing = 0;
185+
};
186+
/* End PBXSourcesBuildPhase section */
187+
188+
/* Begin XCBuildConfiguration section */
189+
8982EB292484F82200BCB558 /* Debug */ = {
190+
isa = XCBuildConfiguration;
191+
buildSettings = {
192+
ALWAYS_SEARCH_USER_PATHS = NO;
193+
CLANG_ANALYZER_NONNULL = YES;
194+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
195+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
196+
CLANG_CXX_LIBRARY = "libc++";
197+
CLANG_ENABLE_MODULES = YES;
198+
CLANG_ENABLE_OBJC_ARC = YES;
199+
CLANG_ENABLE_OBJC_WEAK = YES;
200+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
201+
CLANG_WARN_BOOL_CONVERSION = YES;
202+
CLANG_WARN_COMMA = YES;
203+
CLANG_WARN_CONSTANT_CONVERSION = YES;
204+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
205+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
206+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
207+
CLANG_WARN_EMPTY_BODY = YES;
208+
CLANG_WARN_ENUM_CONVERSION = YES;
209+
CLANG_WARN_INFINITE_RECURSION = YES;
210+
CLANG_WARN_INT_CONVERSION = YES;
211+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
212+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
213+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
214+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
215+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
216+
CLANG_WARN_STRICT_PROTOTYPES = YES;
217+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
218+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
219+
CLANG_WARN_UNREACHABLE_CODE = YES;
220+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
221+
COPY_PHASE_STRIP = NO;
222+
DEBUG_INFORMATION_FORMAT = dwarf;
223+
ENABLE_STRICT_OBJC_MSGSEND = YES;
224+
ENABLE_TESTABILITY = YES;
225+
GCC_C_LANGUAGE_STANDARD = gnu11;
226+
GCC_DYNAMIC_NO_PIC = NO;
227+
GCC_NO_COMMON_BLOCKS = YES;
228+
GCC_OPTIMIZATION_LEVEL = 0;
229+
GCC_PREPROCESSOR_DEFINITIONS = (
230+
"DEBUG=1",
231+
"$(inherited)",
232+
);
233+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
234+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
235+
GCC_WARN_UNDECLARED_SELECTOR = YES;
236+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
237+
GCC_WARN_UNUSED_FUNCTION = YES;
238+
GCC_WARN_UNUSED_VARIABLE = YES;
239+
MACOSX_DEPLOYMENT_TARGET = 10.15;
240+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
241+
MTL_FAST_MATH = YES;
242+
ONLY_ACTIVE_ARCH = YES;
243+
SDKROOT = macosx;
244+
};
245+
name = Debug;
246+
};
247+
8982EB2A2484F82200BCB558 /* Release */ = {
248+
isa = XCBuildConfiguration;
249+
buildSettings = {
250+
ALWAYS_SEARCH_USER_PATHS = NO;
251+
CLANG_ANALYZER_NONNULL = YES;
252+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
253+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
254+
CLANG_CXX_LIBRARY = "libc++";
255+
CLANG_ENABLE_MODULES = YES;
256+
CLANG_ENABLE_OBJC_ARC = YES;
257+
CLANG_ENABLE_OBJC_WEAK = YES;
258+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
259+
CLANG_WARN_BOOL_CONVERSION = YES;
260+
CLANG_WARN_COMMA = YES;
261+
CLANG_WARN_CONSTANT_CONVERSION = YES;
262+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
263+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
264+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
265+
CLANG_WARN_EMPTY_BODY = YES;
266+
CLANG_WARN_ENUM_CONVERSION = YES;
267+
CLANG_WARN_INFINITE_RECURSION = YES;
268+
CLANG_WARN_INT_CONVERSION = YES;
269+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
270+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
271+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
272+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
274+
CLANG_WARN_STRICT_PROTOTYPES = YES;
275+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
276+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
277+
CLANG_WARN_UNREACHABLE_CODE = YES;
278+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
279+
COPY_PHASE_STRIP = NO;
280+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
281+
ENABLE_NS_ASSERTIONS = NO;
282+
ENABLE_STRICT_OBJC_MSGSEND = YES;
283+
GCC_C_LANGUAGE_STANDARD = gnu11;
284+
GCC_NO_COMMON_BLOCKS = YES;
285+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
286+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
287+
GCC_WARN_UNDECLARED_SELECTOR = YES;
288+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
289+
GCC_WARN_UNUSED_FUNCTION = YES;
290+
GCC_WARN_UNUSED_VARIABLE = YES;
291+
MACOSX_DEPLOYMENT_TARGET = 10.15;
292+
MTL_ENABLE_DEBUG_INFO = NO;
293+
MTL_FAST_MATH = YES;
294+
SDKROOT = macosx;
295+
};
296+
name = Release;
297+
};
298+
8982EB2C2484F82200BCB558 /* Debug */ = {
299+
isa = XCBuildConfiguration;
300+
buildSettings = {
301+
CODE_SIGN_STYLE = Automatic;
302+
PRODUCT_NAME = "$(TARGET_NAME)";
303+
SYSTEM_FRAMEWORK_SEARCH_PATHS = (
304+
"$(inherited)",
305+
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
306+
"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
307+
);
308+
};
309+
name = Debug;
310+
};
311+
8982EB2D2484F82200BCB558 /* Release */ = {
312+
isa = XCBuildConfiguration;
313+
buildSettings = {
314+
CODE_SIGN_STYLE = Automatic;
315+
PRODUCT_NAME = "$(TARGET_NAME)";
316+
SYSTEM_FRAMEWORK_SEARCH_PATHS = (
317+
"$(inherited)",
318+
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
319+
"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
320+
);
321+
};
322+
name = Release;
323+
};
324+
/* End XCBuildConfiguration section */
325+
326+
/* Begin XCConfigurationList section */
327+
8982EB1F2484F82200BCB558 /* Build configuration list for PBXProject "CARExtractor" */ = {
328+
isa = XCConfigurationList;
329+
buildConfigurations = (
330+
8982EB292484F82200BCB558 /* Debug */,
331+
8982EB2A2484F82200BCB558 /* Release */,
332+
);
333+
defaultConfigurationIsVisible = 0;
334+
defaultConfigurationName = Release;
335+
};
336+
8982EB2B2484F82200BCB558 /* Build configuration list for PBXNativeTarget "CARExtractor" */ = {
337+
isa = XCConfigurationList;
338+
buildConfigurations = (
339+
8982EB2C2484F82200BCB558 /* Debug */,
340+
8982EB2D2484F82200BCB558 /* Release */,
341+
);
342+
defaultConfigurationIsVisible = 0;
343+
defaultConfigurationName = Release;
344+
};
345+
/* End XCConfigurationList section */
346+
};
347+
rootObject = 8982EB1C2484F82200BCB558 /* Project object */;
348+
}

CARExtractor/CARExtractor.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)