Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switching to Xcode 8.2.1 causes BRCloudDocsErrorDomain

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.

[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'}

When I tried to disable iCloud Drive from System Preferences.. I instead get the following error.

[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}

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?

like image 562
Bob Ueland Avatar asked Dec 25 '16 23:12

Bob Ueland


1 Answers

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.

Hope that this help you

enter image description here

like image 198
Chrstpsln Avatar answered Nov 15 '22 08:11

Chrstpsln