切换到Xcode 8.2.1会导致BRCloudDocsErrorDomain [英] Switching to Xcode 8.2.1 causes BRCloudDocsErrorDomain
问题描述
当我从Xcode 7.3.1切换到Xcode 8.2.1时,第一次尝试(通过Cmd + s)保存时出现以下错误.
When I switched from Xcode 7.3.1 to Xcode 8.2.1 I get the following error when I try to save (via Cmd+s) the first time.
[错误]无法获取URL的容器:file:///Users/bob/Desktop/, 错误:错误域= BRCloudDocsErrorDomain代码= 12应用程序库不 找到:'com.apple.Desktop'"UserInfo = {NSDescription =应用库未 找到:"com.apple.Desktop"}
[ERROR] Failed getting container for URL: file:///Users/bob/Desktop/, error: Error Domain=BRCloudDocsErrorDomain Code=12 "App library not found: 'com.apple.Desktop'" UserInfo={NSDescription=App library not found: 'com.apple.Desktop'}
当我尝试通过系统偏好设置"禁用iCloud Drive时.我却收到以下错误消息.
When I tried to disable iCloud Drive from System Preferences.. I instead get the following error.
[错误]无法获取URL的容器:file:///Users/bob/Desktop/, 错误:错误域= BRCloudDocsErrorDomain代码= 2注销-iCloud 驱动器未配置" UserInfo = {NSDescription =注销-iCloud 未配置驱动器}
[ERROR] Failed getting container for URL: file:///Users/bob/Desktop/, error: Error Domain=BRCloudDocsErrorDomain Code=2 "Logged out - iCloud Drive is not configured" UserInfo={NSDescription=Logged out - iCloud Drive is not configured}
我正在创建MacOS应用程序,不需要使用Cloud,但是在保存文档时似乎以某种方式涉及了Cloud.这里有什么问题,该怎么办?
I am creating a MacOS app and I do not need to use Cloud, but it seems that the cloud is somehow involved when saving a document. What is the problem here and what can be done about it?
推荐答案
我遇到了同样的问题,我通过打开沙盒并选择了要在项目参数中使用的文件夹来解决了这个问题.
I encountered the same problem and I solved it by switching on Sandbox and by selecting which folders I wanted to use in my project parameters.
希望这对您有帮助
这篇关于切换到Xcode 8.2.1会导致BRCloudDocsErrorDomain的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!