# FSKit v1 真实 API 状态 ⭐⭐⭐⭐⭐ (CRITICAL DISCOVERY) ## 编译错误关键发现 **错误信息**: ``` error: 'FSFileSystem' is unavailable in macOS /// > Note: The current version of FSKit supports only ``FSUnaryFileSystem``, not `FSFileSystem`. ``` **Apple 官方注释**: - ❌ `FSFileSystem` 在 macOS v1 中 unavailable - ✅ **仅支持** `FSUnaryFileSystem` --- ## FSKit v1 实际可用 API **正确的 API**: - ✅ `FSUnaryFileSystem` (NOT FSFileSystem) - ✅ `UnaryFileSystemExtension` (需要验证,可能不是 FSKitExtension) - ✅ `FSVolume` (正确) - ✅ `FSItem` (正确) **错误的 API** (我的之前假设): - ❌ `FSKitExtension` (不存在或 unavailable) - ❌ `FSFileSystem` (unavailable in macOS v1) --- ## 需要重新验证 FSKitSample **关键问题**: - FSKitSample 使用的是什么 API? - Entry point 实际是什么类型? - 是否有其他可用 API? **下一步**: - 重新研究 FSKitSample 真正使用的类名 - 检查 macOS Sequoia 15.4+ 的 FSKit framework - 使用正确的 v1 API ---