You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

macOS下File Provider UI Extension使用异常求助:文档矛盾与UI加载失败

macOS上File Provider UI Extension的文档矛盾与实践故障

文档自相矛盾的情况

  • 苹果扩展概览页面声称macOS不支持File Provider UI Extension;
  • 但FileProviderUI的文档页面将macOS列为支持平台,文档内容也暗示该扩展在macOS上受支持;
  • Xcode的「添加新目标」对话框中,macOS分类下找不到「File Provider UI Extension」模板;
  • 尝试通过创建iOS版File Provider UI Extension,切换SDK至macOS并将UIKit API替换为AppKit对应接口后,Finder中确实会显示该扩展的操作选项。

实践中的故障

点击Finder中的操作选项后,扩展UI始终无法显示,控制台输出日志如下:

default pkd Waiting on thread <private> until Launch Services database seeding is complete.
default Finder  [d <private>] <PKHost:0x600000c38cc0> Beginning discovery for flags: 1024, point: (null)
default Finder  [d <private>] <PKHost:0x600000c38cc0> Completed discovery. Final # of matches: 0
error   Finder  nil extension for provider ID (<private>), error: (null)
error   Finder  Action with identifier (<private>) did finish with error (Error Domain=FPUIActionViewControllerErrorDomain Code=1000).
error   Finder  FP Custom action sheet finished with error Error Domain=FPUIActionViewControllerErrorDomain Code=1000 "(null)"
default pkd [d <private>] Final plugin count: 0

求助

有没有成功在macOS上实现并正常运行File Provider UI Extension的开发者?恳请分享经验和可行的解决方案。

内容的提问来源于stack exchange,提问作者Dmitry

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 12:35:06