You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I shared my build with someone and they get stuck on saving (specifically somewhere around here, from what I gathered from my logs:
// Get the URL to save the new file to NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName]; // Initialize a document with that path iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL]; document.contents = content; [document updateChangeCount:UIDocumentChangeDone];
My build works fine on my device, so I can't figure out if there's any cloud setting on their device that I'm missing.
Did anyone else get stuck here?
The text was updated successfully, but these errors were encountered:
Same problem with [[iCloudDocument alloc] initWithFileURL:fileURL]. It freezes the app. In my case it happens when I try to retrieveCloudDocumentWithName for the file that already exists. I use Swift with the Bridging-Header. The logs end here:
[iCloud] Initialized
[iCloud] Initializing Ubiquity Container
[iCloud] Retrieving iCloud document, file.txt
[iCloud] Ubiquity Container Created and Ready
[iCloud] The document, file.txt, already exists and will be opened
I shared my build with someone and they get stuck on saving (specifically somewhere around here, from what I gathered from my logs:
// Get the URL to save the new file to
NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
// Initialize a document with that path
iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
document.contents = content;
[document updateChangeCount:UIDocumentChangeDone];
My build works fine on my device, so I can't figure out if there's any cloud setting on their device that I'm missing.
Did anyone else get stuck here?
The text was updated successfully, but these errors were encountered: