优化:刷新率自适应省电 + 删除空桥接头

- 刷新率自适应:
  * 翻页动画进行中保持 60fps 保证流畅;静止时自动降频
  * 显示秒时空闲降到 0.1s(10fps,跨秒检测延迟≤0.1s 不可见)
  * 关闭秒显示后空闲降到 1.0s 进一步省电
  * 静止且无变化时跳过整屏重绘(setNeedsDisplay),仅保留低频轮询
- 删除空的 FlipClockSaver-Bridging-Header.h,并移除 pbxproj 中
  SWIFT_OBJC_BRIDGING_HEADER 与 membershipExceptions 相关引用
  (项目无 Obj-C 代码,桥接头多余)
- Release 构建 BUILD SUCCEEDED,Developer ID 正式签名 + 验证通过
This commit is contained in:
2026-08-06 10:40:07 +08:00
parent 83bda78b5b
commit 1fa1cc3dde
4 changed files with 27 additions and 25 deletions
-15
View File
@@ -10,22 +10,9 @@
7B3DB23F3022DC2F00B3B568 /* FlipClockSaver.saver */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FlipClockSaver.saver; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
7B3DB24E3022DC6000B3B568 /* Exceptions for "FlipClockSaver" folder in "FlipClockSaver" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
"FlipClockSaver-Bridging-Header.h",
);
target = 7B3DB23E3022DC2F00B3B568 /* FlipClockSaver */;
};
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
/* Begin PBXFileSystemSynchronizedRootGroup section */
7B3DB2413022DC2F00B3B568 /* FlipClockSaver */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
7B3DB24E3022DC6000B3B568 /* Exceptions for "FlipClockSaver" folder in "FlipClockSaver" target */,
);
path = FlipClockSaver;
sourceTree = "<group>";
};
@@ -275,7 +262,6 @@
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "FlipClockSaver/FlipClockSaver-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 6.0;
WRAPPER_EXTENSION = saver;
@@ -303,7 +289,6 @@
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "FlipClockSaver/FlipClockSaver-Bridging-Header.h";
SWIFT_VERSION = 6.0;
WRAPPER_EXTENSION = saver;
};