iCloud Drive

RSS for tag

iCloud Drive safely stores any kind of file so it can be accessed in iCloud-enabled apps on iPhone, iPad, Mac, or PC.

iCloud Drive Documentation

Posts under iCloud Drive tag

60 Posts
Sort by:
Post not yet marked as solved
0 Replies
259 Views
/var/mobile/Containers/Data/Application/9DBD5CCD-36A9-4496-93FB-B8EBD679E934/Documents/godai_2024-01-16_09-34-11-445/photo_2024-01-16_09-34-11-452.json..in this debug console folder name "godai_2024-01-16_09-34-11-445" is shown but in iCloud Drive folder name change into example ..how can to fix this issue ??
Posted Last updated
.
Post marked as solved
1 Replies
553 Views
Hi! I've got an application that can handle json (export/import). To achieve that I created a new Document Type in the info.plist, filed the imported and exported Type Identifiers, and created a new UTType. At first I was trying on the simulator and everything worked fine. I was able to created files and store them in the File app, and then read them back. I also implemented the func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) to handle documents opened from outside the application. Now when I moved on onto a real device, I noticed that I had to test the access with guard url.startAccessingSecurityScopedResource() else { throw ImportError.accessDenied } defer { url.stopAccessingSecurityScopedResource() } but I get a weird behavior : when opening a file from File app with my app launched, everything works fine. But if I try to launch my application (previously killed) from a file in the File app, startAccessingSecurityScopedResource always returns false I tried to add the NSFileCoordinator().coordinate(readingItemAt: url, error: &error) { (url) in but I get the same behavior. I guess my files and UTType are correctly declared as I only see them from inside the `UIDocumentPickerViewController`` and from the File app, I see my application in the share sheet What am I missing here ? Thanks
Posted Last updated
.
Post not yet marked as solved
1 Replies
716 Views
We use a test iPad to test new versions of our app as well as checking new (beta) versions of iPadOS. Our app - Rendezvous Appointment Book -uses iCloud to sync between the iPad and iPhone. So, when an entry is made on either the iPad or iPhone the entry is automatically synced to the other device(s). So, a user can make a client appointment on one device and it syncs to another iPad or iPhone logged into the same iCloud account. This has worked smoothly for years. But, the latest beta version - 17.8 caused a syncing issue where all the existing data that is stored on the same iCloud account did not sync. We have seen this before. Recently, starting with iPadOS/iOS 16.3 syncing failed for a number of users just on their iPads. The data stored on iCloud disappeared, but the iPhone did sync with iCloud. About 30 users could not get their data to sync at all , but the vast majority did sync. Some users who experienced the problem were able to sync by deleting the app and reinstalling it from the App Store, as per our recovery instructions. Then when version 16.4 was released all syncing worked as well as 16.5 and 16.6 which have worked perfectly. When 17 beta was released we tested again for proper syncing, but ran into the same issue with version 17.3 beta - no sync again. But 17.6 beta did sync. Now, in testing this last Thursday with 17.8 beta the same issue reappeared on our test iPad. We contacted Apple Developer support but have yet to get any resolution (and we are worried that when Apple releases 17 on Sep 11 the syncing issue might still rear its ugly head). Has anyone seen this happen? BTW all other iCloud syncing worked correctly, e.g. Photos, backups, etc.
Posted Last updated
.
Post not yet marked as solved
1 Replies
321 Views
NSMetadataQuery fail in iOS17.2 with Error Domain=com.apple.accounts Code=7 ACErrorPermissionDenied
Posted
by Feidee.
Last updated
.
Post not yet marked as solved
2 Replies
408 Views
Hi, I followed the instructions here: https://developer.apple.com/documentation/uikit/view_controllers/providing_access_to_directories but when trying to get access to each file inside the selected folder (tried iCloud and iPhone) it always fails. Instead, if I specify a type of file on the Controller (say .audio) I can read the file fine... Did anything change which is not documented in that page? Do I have to set any other permission or capability? (I have iCloud Documents) Thanks!!
Posted Last updated
.
Post not yet marked as solved
0 Replies
329 Views
Hi I'm confused. Today my icloud drive folder started downloading files to my macbook. These files were stored in the cloud. There was a cloud icon with a down arrow next to them. Now over 11 gigabytes of files have now downloaded from the cloud. The icon is gone. Consequently, they have been uploaded to the macbook. How do I get them back into the cloud ? I'm confused about the actions and icons.
Posted Last updated
.
Post not yet marked as solved
0 Replies
363 Views
I'm testing disabling iCloud for my app (https://support.apple.com/en-gb/HT207689) and it's disabled in my main app but when I use the share extension it's always enabled. I would think that disabling iCloud would disable it for all extensions you might have in your app. Is there no way to disable iCloud for an extension only for main app?
Posted Last updated
.
Post not yet marked as solved
0 Replies
589 Views
I'm able to get the access token by utilizing the "https://appleid.apple.com/auth/token" API. However, when obtaining contact data from the iCloud API at "https://api.icloud.com/contacts/v1/me/contacts" using the same access token. I'm not getting any response. I'm not sure whether the API is operational and live. Or please suggest if there any other API for fetching iCloud contacts. Additionally, I consistently receive a "invalid_scope" error when utilizing scope contacts with the "https://appleid.apple.com/auth/authorize" API.
Posted Last updated
.
Post not yet marked as solved
0 Replies
304 Views
How are you guys, after update at 14.2 Sonoma all my iCloud library have Been down load on my Mac , usually I manage with right click , remove from download , but this option is gone .... I don't know I can manage , thank for any advise
Posted
by lukenava.
Last updated
.
Post not yet marked as solved
100 Replies
126k Views
This has been a bug for a while now on Mac OS. When you sync your desktop/documents folders with iCloud at random moments it gets stuck and never finish uploading. The folder says "waiting to upload" indefinitely. I notice it happens more often when you do a git commit on a folder that is synced with iCloud. Are there any work around for that?
Posted
by iamlogiq.
Last updated
.
Post not yet marked as solved
0 Replies
297 Views
Hello all, When I try to export the iMovie project into my photo library, it won't go through the "Space problem" Though I have 55 GB remaining space, and the iCloud is enabled. Any tips?
Posted
by AJ9777.
Last updated
.
Post not yet marked as solved
0 Replies
348 Views
I have recently got a new ipad and have turned off imessage and facetime sync in icloud and turned off imessage and facetime on the ipad itself. However, every morning I wake up to a message on my iphone saying imessage is now being used on another device and it turned itself back on, on the ipad. Does anyone know how I can stop this happening? Thank you
Posted
by talieward.
Last updated
.
Post not yet marked as solved
1 Replies
1.1k Views
I'm using fileImporter for a Mac app. If I open a file from iCloud Drive that isn't already downloaded, I need to start the download before I can read the contents of the file. I found that I can download the file by using NSFileCoordinator or FileManager.default.startDownloadingUbiquitousItem. These APIs will begin the download, but I have no updates on the progress or if the file has been downloaded. I've tried to use NSMetadataQuery with no luck. Is there a way, either with fileImporter in SwiftUI or an AppKit API that I can receive updates for when a remote file has been downloaded, or do I need to prompt the users to download the file themselves before importing into my app?
Posted Last updated
.
Post marked as solved
3 Replies
1.7k Views
Hello people, I am currently experiencing a lot of disruption for the uploading of my files to the iCloud Drive. I have a folder that I share with some of my colleagues that contain some lectures notes and such, and I have two devices, a MacOS on the new Sonoma 14.0 Beta and an iPad on the 16.6 iPadOS. Recently the files started getting stuck upon upload and I think this started happening when I started sharing the folders with other people over iCloud. I went through the internet multiple times to see if someone is having this problem and I willingly ran sudo killall bird hoping it would fix my issue, but sadly it didn't. Would appreciate any support on this, I am aware this might have a potential relation with the Beta MacOS.
Posted
by ylkhayat.
Last updated
.
Post not yet marked as solved
1 Replies
358 Views
Apple has consolidated users iCloud data into iCloud.com. our app uses iCloud to sync data between iOS devices - iPad and iPhone using Core Data and iCloud Documents. But, this data is not posted on iCloud.com. It would be very useful, especially when iCloud fails to sync. When Apple does an Upgrade, say going from iOs 16to 17 and no way to retrieve the data. Any other developers concur?
Posted Last updated
.
Post not yet marked as solved
1 Replies
518 Views
My iCloud storage was full, and I noticed my MacBook was backing up to iCloud, which I didn't know - we just thought we were using iCloud backup for our iPhones. So to free up space, I disconnected iCloud from my MacBook - when I did, everything saved on my desktop disappeared. The issue is that iCloud was full, so these files weren't backed up - now they are just gone. They aren't in my deleted items folder and they aren't in iCloud. I don't understand why disconnecting iCloud from my MacBook would permanently remove files that were saved on my desktop. Does anyone know if there is a way to restore files from the desktop in a situation like this?
Posted
by putrick.
Last updated
.
Post not yet marked as solved
3 Replies
1.9k Views
I'm trying to use the Xcode 15.0 beta on macOS 13.4 (22F66) on a MacBook Pro 16" (2019) but whenever I try to start a new project, Xcode becomes unresponsive – seemingly indefinitely. In Activity Monitor I see "Open and Save Panel Service (Xcode) (Not Responding)": Even if I try to use Xcode 14.3.1 now I get the same problem. I've tried to resolve this by removing all Xcode-related files as well as the Xcode command line tools and reinstalling them but to no avail. I'd appreciate any and all help in how to fix this. EDIT: I have since found out that if I force-quit the bird process, Xcode will react again. But the bird process will start up and shoot to the top of the % CPU l column in Activity Monitor again almost instantly. It appears to be iCloud-related but I don't know what's causing it to take up so much CPU resources and make Xcode unresponsive, and how I can fix this.
Posted
by Eurydice.
Last updated
.
Post not yet marked as solved
1 Replies
508 Views
When setting up a Finder Sync Extension, even when just using the minimal template given by the File → New → Target → macOS ones provided in Xcode, the right-click menu does not show up within iCloud Drive, while toolbar buttons always work. Outside iCloud Drive multiple extensions show up when right-clicking on Finder's background. When right-clicking inside iCloud Drive (here my synced Desktop folder), they do not show up. Before macOS Sonoma this worked perfectly for me, but it broke beginning with the first beta. No Finder extension from any app (such as the Keka one) work anymore. I have seen it discussed that not more than one Finder extension can be active in a directory, but that is not true as can be seen in the first screenshot. Q: How can I circumvent this issue?
Posted
by kamik423.
Last updated
.
Post not yet marked as solved
1 Replies
495 Views
In NSFileManager there is this method to move files to and from iCloud:- (BOOL)setUbiquitous:(BOOL)flag itemAtURL:(NSURL *)url destinationURL:(NSURL *)destinationURL error:(NSError **)errorOutAll the samples and information I'm able to find seem to be related to using NSDocument, which my app isn't using. I have a little view in my app that allows users to move an image out from the iCloud container and into a local directory. It seems that simply using NSFileManager moveItemAtURL:toURL:error: works fine both to move a file in and out of the iCloud container on OS X without wrapping everything in a file coordinator block. Is it still necessary to use a file coordinator to move files out of iCloud on the Mac. When I put a file in the iCloud container, the system automatically starts uploading it..even though I'm not using a file coordinator...and my related file presenter still is detecting a change.Both methods seem to be working the same, I'm just wondering if I should be using a coordinator because it's a good amount of code I can get rid of if it's not necessary.Thanks.
Posted Last updated
.
Post not yet marked as solved
1 Replies
621 Views
Yesterday 8/31/23 around 2:00 pm I deleted documents from my iPhone - apparently I wasn't paying attention and it was deleted from iCloud Drive. I later was on my MacBook Pro running Ventura 13.5 and my desktop and folders are gone... I logged into iCloud and there is nothing under recently deleted. When I try to right click anywhere on the desktop I get The operation can't be completed a unexpected error occurred - error 8072. When I go into finder I try to click desktop or documents I get- The operation can’t be completed because the original item for “Documents” can’t be found. The operation can’t be completed because the original item for “Desktop” can’t be found. I have gone into finder setting check - unchecked everything that I could from reading threads. I have started in safe mode I have run disk utility I logged out go Apple ID and back in... When I try to check the desktop and documents folder in settings it turns on and off quickly. I can turn it on through Settings general - storage. I am very frustrated and upset I did not ever choose permanently delete. Any help would be GREATLY appreciated. Thanks - Kim
Posted Last updated
.