按 W2 plan Task 3 落地原图加密存储: - writeJPEG / loadImage / remove / wipe 四个核心操作 - Application Support/Vault/ 目录全程 .completeFileProtection - 文件写入用 .completeFileProtection options(双保险) - FileVault(rootURL:) 注入便于测试隔离 - shared 单例用真实 App Support 路径 测试 3 条:roundtrip / remove / wipe。 注:.swift 文件需用户在 Xcode 拖入 target(Persistence group + 体己Tests), 之后 ⌘U 跑测试,若全绿再 amend 提交 .pbxproj。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.2 KiB
2.2 KiB