【问题标题】:iOS 13 - FileManager url(forPublishingUbiquitousItemAt:expiration:) not working anymoreiOS 13 - FileManager url(forPublishingUbiquitousItemAt:expiration:) 不再工作
【发布时间】:2019-08-04 20:52:02
【问题描述】:

我开发了一个 iOS 应用程序,它使用 Apple 的 FileManager 类的 url(forPublishingUbiquitousItemAt:expiration:) 方法。从 iOS 13 的第一个 Beta 版开始,此功能停止工作,现在它引发错误,指出“This code has been removed. You should switch off of this SPI”。但是我在 iOS 的发行说明和此功能的 documentation 中都找不到与此功能相关的任何内容,它甚至声明它将在 Mac Catalyst 13.0+ 上受支持。

这也与 Xcode 10 和 11 无关,因为它发生在使用其中任一版本构建应用程序时。

你们中有人知道更多吗?如果能获得这方面的新信息,那就太好了。

谢谢, 费边。

【问题讨论】:

    标签: ios swift nsfilemanager beta ios13


    【解决方案1】:

    这已在 iOS 13 beta 6 中得到修复。今天更新,这个错误神奇地消失了!

    当我看到这个错误信息时,我的心都碎了。

    【讨论】:

      猜你喜欢
      • 2022-12-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-03-07
      • 1970-01-01
      相关资源
      最近更新 更多