iOS 13 - FileManager url(forPublishingUbiquitousItemAt:expiration:) 不再工作

iOS 13 - FileManager url(forPublishingUbiquitousItemAt:expiration:) not working anymore

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

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

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

谢谢, 法比安.

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

当我看到这条错误消息时,我的头脑被炸飞了。