Post not yet marked as solved
NSMetadataQuery fail in iOS17.2 with Error Domain=com.apple.accounts Code=7
ACErrorPermissionDenied
Post not yet marked as solved
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!!
Post not yet marked as solved
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.
Post not yet marked as solved
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?
Post not yet marked as solved
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.
Post not yet marked as solved
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
Post not yet marked as solved
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?
Post not yet marked as solved
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?
Post not yet marked as solved
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
Post not yet marked as solved
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?
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.
Post not yet marked as solved
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?
Post not yet marked as solved
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?
Post not yet marked as solved
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.
Post not yet marked as solved
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?
Post not yet marked as solved
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.
Post not yet marked as solved
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
Hello,I am creating a new app that uses CKShare. I am able to create the CKShare and send it by email using UICloudSharingController.When the receiver of the invite tries to accept the share, there is an error message"Couldn't open "Title"You need a newer version of "App" to open this, but the required version couldn't be found in the App StoreMy app has not been published to app store yet. How do I resolve this error? I am using a development build with two apple id's to test ckshare.Thanks!
Post not yet marked as solved
I was testing out iOS 17 Beta 5 with Advanced Data Protection turned on. I wanted to downgrade to iOS 16 for improved stability; however, once I downgraded all of my iCloud data was gone (~100GB) and about 10+ years of digital accumulation poof.
Yes, I'm on the correct iCloud account. Yes, I'm logged in. Yes, I've checked iCloud.com as well as my device. Yes, I went back to iOS 17 Beta 5 to see if my backup would show up but there is no data and no backup anywhere else. I was discussing with apple tech support for over an hour and they were unable to assist.
Just checking if anyone else might have suggestions on other things to try.
Post not yet marked as solved
Hello,
I need to get all files (recursively) from an iCloud Drive folder.
So I use UIDocumentPickerController with UTType.folder.
Then I use FileManager to get all files from the picked folder, but when I try to access it with startAccessingSecurityScopedResource it return false.
It's work perfectly if I dont get files by FileManager but directly by the UIDocumentPickerController when configured for multiple files selection.
How can I access to all files from a picked directory with permission granted ? Is it at least possible ?
Thanks