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
Post not yet marked as solved
While scrolling through the layout of the settings for iCloud on my iPhone, I came across this item titled "FTMessageStoreService" (screenshots attached). Does anyone
have information on this item and whether or not I should leave it?
Post not yet marked as solved
Hello.I am starting working with theCloudKit Web ServicesI am reading the documentation here:https://developer.apple.com/library/content/documentation/DataManagement/Conceptual/CloutKitWebServicesReference/SettingUpWebServices/SettingUpWebServices.html#//apple_ref/doc/uid/TP40015240-CH24-SW1I am trying to receive Getting the Web Authentication TokenAfter successfully login I am getting this jsonObject appInfo:Object
AdditionalSalt:"cec2731125ded8d34cbd3702e0c360b8b7b534fa04dbb2f0ea150b524b7739e5"AppDiscoverable:"false"AppId:"0"AppName:"iCloud.jovan.PhotoWebApp"ContainerEnvironment:"development"ContainerId:"iCloud.jovan.PhotoWebApp"DeveloperName:"UNKNOWN_DEVELOPER"LogoURL:""__proto__:ObjectckSession:"48__24__AZLhIol7ffB34oNYrGP54rWKY5MiVdO+2+85oIiWPuKoK/KJ7r9cNivNwYd03iX/aDW6KL4wuAOVJZ0dAShqhT9ZhoUuW9ZZNPPQ7tzTcBNJ/itQI/uulkBi/51Rpijv/5ZypUYD9yGP3dyXQgDVlGSK8tUPHigigN7nO91DGkM1kaT11lXFBBCHlvZr0DX4tp1cxZ9/P/Q=__eyJYLUFQUExFLVdFQkFVVEgtUENTLUNsb3Vka2l0IjoiUVhCd2JEb3hPZ0VpWXd2Q0QyYmdCVWZrblo1cmp3dnl3Wjg1cHF1dTdLaFZPMThnMEx1bDhLeWRhMHR5SkhyUkZwT0JycEVicXNXWGhqUk9XbTlyd2pkZzB6K3JvZktOIiwiWC1BUFBMRS1XRUJBVVRILVBDUy1TaGFyaW5nIjoiUVhCd2JEb3hPZ0ZyZzEyZGNZSGk4WWRKYU0yK1pFMFRKaytrdTBBMmNZTG8vaUJPRlV1cEtKT3ExS1YvYjlBaldCeklwQTR5N2FUbXNrMDhCWjRsYVRoeWRTaSt3eE9PIn0="isICDP:falsepcsDeleted:falsepermissions:Array[1]
0:Object
ask:falsename:"discoverability"__proto__:Objectlength:1__proto__:Array[0]status:0But, as per documentation I should receive the ckWebAuthToken instead of ckSessionCould you please help me? Looks like documenttion is incorrect or i do something wrong...How to get the ckWebAuthToken or how to use this ckSession for requesting the web services?
Post not yet marked as solved
I have plenty of space in iCloud, and a very small backup to upload, but iCloud says backup cant be completed due to lack of storage. I am on latest ios17 beta. Any suggestions other than downgrading to non-beta version?
Post not yet marked as solved
Just as the title states, my notes will not sync from my ipad to anywhere in the cloud, but notes created on my macbook will sync to my ipad. The iPad keeps prompting me, only in Notes, to add more storage space and actually will walk me through checkout but then errors out. This is very frustrating as now I can no longer go back to before Beta since it has auto-backed up so many times.
Any one else having this issue?
Post not yet marked as solved
Hello!
I would like my users to save short videos (under 30seconds 1080p) to the public database for all other users to download and view. Is this possible? Will I run into any storage pricing with Apple if I were to pursue this as my application backend?
I am looking at other methods as well (user sharing from their private database) so I can implement video sharing.
Is this feasible and worth pursuing?
Post not yet marked as solved
Guys, can you suggest some keywords about the feature: upload file to iCloud Drive via REST API (POST method)? I did a lot of research in two days and I almost thought it impossible, so I come here to get help from you guys.
My project required upload the file into each user's iCloud Drive/Google Drive. For now, I'm finished with Google Drive and it works well.
I found CloudKit but seem it's not allowed to upload the file into each user drive like Google Drive
The workflow of my feature:
Step 1. Upload file to iCloud Drive via REST API
Step 2. Get the public share link from the uploaded file in Step 1
Post not yet marked as solved
I have my app including iCloud support in the App Store for many years now. When I run the app on iOS 17 Beta 2 I am experiencing a very bad performance because the main thread seems to be blocked most of the time.
When I run the app using the Time Profiler in Instruments it also reports the hangs and the busy main thread.
I looked into the profiler window to see methods with long runtime. The most prominent method was:
[BRQuery itemCollectionGathererDidReceiveUpdates:deleteItemsWithIDs:] coming from "CloudDocs". That seems to be some iOS internal class.
I do not really know where to look next and I want to know whether somebody of you also experienced a similar problem?
Thanks,
Dirk
Post not yet marked as solved
I want to troubleshoot entitlements to icloud drive.
An app downloaded on the macOS app store has no entitlements related to icloud.
Its entitlements look like this (removing the irrelevant ones):
[Key] com.apple.developer.maps
[Value]
[Bool] true
[Key] com.apple.security.app-sandbox
[Value]
[Bool] true
[Key] com.apple.security.files.user-selected.read-write
[Value]
[Bool] true
[Key] com.apple.security.network.client
[Value]
[Bool] true
[Key] com.apple.security.network.server
[Value]
[Bool] true
[Key] com.apple.security.personal-information.addressbook
[Value]
[Bool] true
[Key] com.apple.security.personal-information.calendars
[Value]
[Bool] true
[Key] com.apple.security.personal-information.location
[Value]
[Bool] true
I have not manually given it access to the icloud drive.
This app does not appear in the list of app appearing in Settings / iCloud Drive / options.
And yet, this app is able to create its directory inside iCloud drive.
My understanding is that it should not have access to iCloud drive without a specific entitlement.
Is my understanding off, or is this is security bug?
Hello, I'am an Unity game developer. Iam using custom Binary files to save game progress data (encoded strings, int, bool etc.). Now before I build my project/game to Xcode and upload it to the Appstore, I want the user to be able to save their progress to the iCloud so they can play on multiple devices and restore/override their game data if needed. However I can't find online a step for step guide on how to achieve this. The data that I would need to store for 1 user would probably not be more then 100 int/bool/float etc. I want to know what "Cloud system" I should use in my situation, and how to synchronize my binary files to iCloud. Help would very much be appreciated!
Testing an iOS app using iCloud Drive on iOS16.1, iOS15.5 and iOS14.5 - these all work fine on Intel (Monterey or Ventura) but not on an M1 Mac running Monterey.
The iOS16.1 simulator throws an exception with bird, which could have some bearing on it - but this isn't seen with the other simulators, and none of them sync iCloud Drive after leaving it running for over an hour (and manually triggering iCloud Sync).
Has anyone else this problem? How about on Ventura on an M1?
Post not yet marked as solved
When accessing my own files on iCloud.com, the txt files appear as garbled characters.
It seems that UTF-8 encoding is not supported.
Post not yet marked as solved
Hi,
For some reason, I have an AppleID account that data in the Reminders app appears to be corrupt.
This AppleID is tied to a MacBook Pro, an iPhone and an iPad Pro - 2 of the 3 share the same data, but the third doesn't. And the 2 that share the same data, the options provided for the reminders seems to be an earlier version.
I do remember an OS upgrade or so ago, the Reminders database was upgraded, so this appears to be maybe the upgrade failed. I'd be happy to delete all the Reminders data for this account and start over, but I'm not sure how to do that.
Any advice?
Thanks,
Neil
Post not yet marked as solved
When a file named a.txt is not downloaded locally, the iCloud Drive folder actually only contains a placeholder named .a.txt.icloud (that is still displayed as a.txt by the Finder) with a very small file size, something like 176 bytes. How can I get the original file size, like the Finder displays?
Post not yet marked as solved
I think it is about time iCloud Backup should be extended to enable Cellular Data be enabled for it's data Use. My Understanding has been those from Africa and other less highly technological places have had it difficult in backing up their phones on iCloud due to the exclusive request for Wi-Fi. At these places Cellular data is mostly the source of readily source for for all internet connectivity's. So I think there should be a conscious effort to allow iCloud Backups through Cellular Data.
Post not yet marked as solved
According to Apples Class Reference CKQuery, the operator "CONTAINS" is one of the suported operators. However, that doesn't seem to work. I have a recordtype called myRecord, and a record with filedname "name" type String. I try to fetch the record with two different predicates, one with "==" operator, and one with "CONTAINS" operator.func getRecords(){
let name = "John"
let Predicate1 = NSPredicate(format: "name == %@",name)
let Predicate2 = NSPredicate(format: "name CONTAINS %@",name)
let sort = NSSortDescriptor(key: "Date", ascending: false)
let query = CKQuery(recordType: "myRecord", predicate: Predicate1)
//let query = CKQuery(recordType: "myRecord", predicate: Predicate2)
query.sortDescriptors = [sort]
let operation = CKQueryOperation(query: query)
operation.desiredKeys = ["name", "Date"]
operation.recordFetchedBlock = { (record) in
print(record["name"])
operation.queryCompletionBlock = { [unowned self] (cursor, error) in
dispatch_async(dispatch_get_main_queue()) {
if error == nil
{ print ("sucess")
} else {
print("couldn't fetch record error:\(error?.localizedDescription)") }
}
}
CKContainer.defaultContainer().publicCloudDatabase.addOperation(operation)
}Using Predicate1, outout is: Optional(John) sucessUsing Predicate2, outout is: couldn't fetch record error:Optional("Field \'name\' has a value type of STRING and cannot be queried using filter type LIST_CONTAINS")Also using [c] to ignore casings gives a crash.How do I use the operator "CONTAINS" correctly, and how do I ignore letter casings?