feat(storage): 新增只读 SMART 辅助服务与寿命通电详情

This commit is contained in:
2026-10-30 16:02:46 +08:00
parent 069e2e100f
commit 7e9728899d
25 changed files with 515 additions and 15 deletions
+102 -14
View File
@@ -6,28 +6,55 @@
objectVersion = 110;
objects = {
/* Begin PBXBuildFile section */
BB000000000000000000001E /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000A; };
BB000000000000000000001F /* DiskSMARTReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000B; };
BB0000000000000000000020 /* SMARTServiceProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000C; };
BB0000000000000000000021 /* CodeIdentity.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000D; };
BB0000000000000000000022 /* DiskHealthMetrics.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000E; };
BB0000000000000000000023 /* DiskHealthReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000F; };
BB0000000000000000000024 /* SMARTService.xpc in Embed XPC Services */ = {isa = PBXBuildFile; fileRef = BB0000000000000000000002; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
BB0000000000000000000004 /* Embed XPC Services */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = Contents/XPCServices;
dstSubfolderSpec = 1;
files = (BB0000000000000000000024, );
name = "Embed XPC Services";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXContainerItemProxy section */
BB0000000000000000000008 = {isa = PBXContainerItemProxy; containerPortal = D9E51E6B309338B0000608DE; proxyType = 1; remoteGlobalIDString = BB0000000000000000000001; remoteInfo = SMARTService; };
/* End PBXContainerItemProxy section */
/* Begin PBXTargetDependency section */
BB0000000000000000000009 = {isa = PBXTargetDependency; target = BB0000000000000000000001; targetProxy = BB0000000000000000000008; };
/* End PBXTargetDependency section */
/* Begin PBXFileReference section */
D9E51E73309338B0000608DE /* kymo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = kymo.app; sourceTree = BUILT_PRODUCTS_DIR; };
BB000000000000000000000A /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = main.swift; path = SMARTService/main.swift; sourceTree = SOURCE_ROOT; };
BB000000000000000000000B /* DiskSMARTReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DiskSMARTReader.swift; path = SMARTService/DiskSMARTReader.swift; sourceTree = SOURCE_ROOT; };
BB000000000000000000000C /* SMARTServiceProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SMARTServiceProtocol.swift; path = kymo/Core/Services/SMARTServiceProtocol.swift; sourceTree = SOURCE_ROOT; };
BB000000000000000000000D /* CodeIdentity.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CodeIdentity.swift; path = kymo/Core/Services/CodeIdentity.swift; sourceTree = SOURCE_ROOT; };
BB000000000000000000000E /* DiskHealthMetrics.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DiskHealthMetrics.swift; path = kymo/Core/Models/DiskHealthMetrics.swift; sourceTree = SOURCE_ROOT; };
BB000000000000000000000F /* DiskHealthReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DiskHealthReport.swift; path = kymo/Core/Monitors/DiskHealthReport.swift; sourceTree = SOURCE_ROOT; };
BB0000000000000000000002 /* SMARTService.xpc */ = {isa = PBXFileReference; explicitFileType = "wrapper.xpc-service"; includeInIndex = 0; path = SMARTService.xpc; sourceTree = BUILT_PRODUCTS_DIR; };
BB0000000000000000000016 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = SMARTService/Info.plist; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */
/* Begin PBXFileSystemSynchronizedRootGroup section */
D9E51E75309338B0000608DE /* kymo */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
AA00000000000000000000A1 /* Exceptions for "kymo" folder in "kymo" target */,
);
path = kymo;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
AA00000000000000000000A1 /* Exceptions for "kymo" folder in "kymo" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
Core/Extensions/.gitkeep,
Core/Monitors/.gitkeep,
Core/Models/.gitkeep,
Core/Monitors/.gitkeep,
Core/README.md,
Features/Dashboard/.gitkeep,
Features/README.md,
@@ -41,12 +68,24 @@
};
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
/* Begin PBXFileSystemSynchronizedRootGroup section */
D9E51E75309338B0000608DE /* kymo */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
AA00000000000000000000A1 /* Exceptions for "kymo" folder in "kymo" target */,
);
path = kymo;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */
/* Begin PBXFrameworksBuildPhase section */
D9E51E70309338B0000608DE /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
files = (
);
};
BB0000000000000000000005 = {isa = PBXFrameworksBuildPhase; files = (); };
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@@ -54,6 +93,7 @@
isa = PBXGroup;
children = (
D9E51E75309338B0000608DE /* kymo */,
BB0000000000000000000003 /* SMART Service */,
D9E51E74309338B0000608DE /* Products */,
);
sourceTree = "<group>";
@@ -62,10 +102,12 @@
isa = PBXGroup;
children = (
D9E51E73309338B0000608DE /* kymo.app */,
BB0000000000000000000002 /* SMARTService.xpc */,
);
name = Products;
sourceTree = "<group>";
};
BB0000000000000000000003 /* SMART Service */ = {isa = PBXGroup; name = "SMART Service"; children = (BB0000000000000000000016, BB000000000000000000000A, BB000000000000000000000B, BB000000000000000000000C, BB000000000000000000000D, BB000000000000000000000E, BB000000000000000000000F, ); sourceTree = "<group>"; };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -76,9 +118,11 @@
D9E51E6F309338B0000608DE /* Sources */,
D9E51E70309338B0000608DE /* Frameworks */,
D9E51E71309338B0000608DE /* Resources */,
BB0000000000000000000004 /* Embed XPC Services */,
);
buildRules = (
);
dependencies = (BB0000000000000000000009, );
fileSystemSynchronizedGroups = (
D9E51E75309338B0000608DE /* kymo */,
);
@@ -87,6 +131,17 @@
productReference = D9E51E73309338B0000608DE /* kymo.app */;
productType = "com.apple.product-type.application";
};
BB0000000000000000000001 /* SMARTService */ = {
isa = PBXNativeTarget;
buildConfigurationList = BB0000000000000000000007;
buildPhases = (BB0000000000000000000006, BB0000000000000000000005, );
buildRules = ();
dependencies = ();
name = SMARTService;
productName = SMARTService;
productReference = BB0000000000000000000002;
productType = "com.apple.product-type.xpc-service";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@@ -119,6 +174,7 @@
projectRoot = "";
targets = (
D9E51E72309338B0000608DE /* kymo */,
BB0000000000000000000001 /* SMARTService */,
);
};
/* End PBXProject section */
@@ -137,6 +193,7 @@
files = (
);
};
BB0000000000000000000006 = {isa = PBXSourcesBuildPhase; files = (BB000000000000000000001E, BB000000000000000000001F, BB0000000000000000000020, BB0000000000000000000021, BB0000000000000000000022, BB0000000000000000000023, ); };
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
@@ -270,8 +327,8 @@
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
@@ -301,8 +358,8 @@
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
@@ -320,6 +377,36 @@
};
name = Release;
};
BB0000000000000000000028 = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
ENABLE_APP_SANDBOX = NO;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = SMARTService/Info.plist;
PRODUCT_BUNDLE_IDENTIFIER = cn.airnan.kymo.SMARTService;
PRODUCT_NAME = SMARTService;
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
BB0000000000000000000029 = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
ENABLE_APP_SANDBOX = NO;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = SMARTService/Info.plist;
PRODUCT_BUNDLE_IDENTIFIER = cn.airnan.kymo.SMARTService;
PRODUCT_NAME = SMARTService;
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@@ -339,6 +426,7 @@
);
defaultConfigurationName = Release;
};
BB0000000000000000000007 = {isa = XCConfigurationList; buildConfigurations = (BB0000000000000000000028, BB0000000000000000000029, ); defaultConfigurationName = Release; };
/* End XCConfigurationList section */
};
rootObject = D9E51E6B309338B0000608DE /* Project object */;