refactor: 删除未使用的 MakerNotes Patcher 死代码

删除文件:
- HEICMakerNotePatcher.swift (591 行)
- MakerNotesPatcher.swift (83 行)

原因:
1. 锁屏壁纸兼容性的根因是 MOV 的 still-image-time(必须为 0),
   而非 HEIC 的 MakerNotes 结构
2. 简化版 ContentIdentifier 方案经竞品验证,对 iOS 17+ 有效
3. 复杂的二进制 MakerNote 注入从未被需要

同时在 LivePhotoCore.swift 添加策略说明注释

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
empty
2026-01-03 23:16:37 +08:00
parent e041cacd7d
commit 683cebd5fa
4 changed files with 44 additions and 687 deletions

View File

@@ -850,8 +850,17 @@ public actor LivePhotoBuilder {
exifDict[kCGImagePropertyExifPixelYDimension as String] = height
imageProperties[kCGImagePropertyExifDictionary as String] = exifDict
// ContentIdentifier MakerNotes
// 使 ContentIdentifier Photos Live Photo
// HEIC Metadata 2024.01
// =========================================
// ContentIdentifierkey "17" MakerNotes
//
//
// 1. MOV still-image-time 0
// HEIC MakerNotes livephoto_wallpaper_root_cause_still_image_time
// 2. iOS 17+ Live Photo ContentIdentifier
// 3. live-wallpaper使 ContentIdentifier
//
// HEICMakerNotePatcher
let assetIdentifierKey = "17" // Content Identifier
var makerAppleDict: [String: Any] = [:]