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.

Posts under iCloud Drive tag

200 Posts

Post

Replies

Boosts

Views

Activity

Icloud woes
Filled my iCLoud when using my last phone and had turned it off anyway because it reminded me I was out of space 38 times a day. Of course when turning it off it threatens vaguely to delete all of your photos in wording that doesn't quite make sense. So before turning iCloud off on the last phone I hooked it up to my PC and downloaded all the pics, or so I thought. Then I turned off iCloud. Well, it brought maybe 15 percent of my pics over onto the PC. Ughhh. So, I was trying to see if my cloud photos were still there despite the iOS threats to delete them all forever to punish me for turning off iCloud and not simply buying more space. (Why oh why don't they just have an SD slot?!?!?!?!?!?!?!?!) I turned on iCloud for my new phone, which only has about 400 pics on it, and immediately I get the iCloud full warning, with 5 GB of photos, so my old pics are still there. Although I could not access them somehow via my new phone even though I followed the clear as mud instructions on the website. (I went to turn iCloud off again and then it said it was going to delete all of my 400 pictures on the new phone) like really? Well that was one of the only choices they funneled me to. in any case, that brings me to the matter at hand, which is I went to iCloud.com to try and look at and get some of my pics. I had to change my password because I forgot it.....apparently....even though when I chose my new password, it said it cant be the same as my last password....Really?!?! Well then I hadn't forgot, unless I made a typo 4 times a moment earlier. Sooooooooo now when I log into iCloud.com it says "Welcome Back!" for about 2 seconds before going back to the login screen, whereupon I am NOT, in fact logged in. Closed the browser, opened it again, same thing. I am just not impressed with the functionality of Apple's stuff at all. Yes, 2 factor is on, I had to go through that to change password etc. So what is wrong with the iCloud website or my access to said entity? Thanks,
0
0
1.2k
Dec ’22
How can I view the Development-server private data for my iCloud test account in the CloudKit Dashboard?
When developing a CloudKit application, the standard recommendation is to create an iCloud account for testing. That makes a lot of sense as I’d like to keep developing code far from my personal iCloud account. But the CloudKit Dashboard won’t let me view the private database for that account. What do other people do to check their work?* clarification: I mean on the development server, not the production server.
3
0
1.8k
Dec ’22
CloudKit returns error 500
Starting about a month ago some of my app users began getting the http 500 error when the app attempts to do anything (read or write) to their iCloud Drive. For AppleIDs that are affected, all apps that use iCloud Drive return the same error. "Request failed with http status code 500" Apple had the same problem last year around the same time (Dec 2021). It was never acknowledged This is a similar issue that happened about a year ago: https://www.macrumors.com/2022/01/26/apple-fixed-icloud-syncing-bug/ Can someone please looking this. I have also filed a bug report with Apple: FB11852660 Since Apple never acknowledges these outages, users blame our app
1
3
2.2k
Dec ’22
Reading an app's "Document Storage" value
How do I access the value enabled by setting UISupportsDocumentBrowser to YES? I have a small app called Doodler which acts as simple drawing board. The main feature, beyond doodling, is that every drawing is automatically saved either to local storage or iCloud Drive. I'd like to enable UISupportsDocumentBrowser but I can't work out how to access the resulting default location. For reference, here's the Settings UI for the same feature in Numbers:
0
1
1.2k
Dec ’22
My Game Center won't be able to load on App Store and Any Game Apps!
This will be an issue due to security problems or errors below: Why do you think that my Apple ID Account contains missing action with that iCloud username "FlashTeens In Minecraft"located in settings? If the feature but is not available. IT MIGHT ALSO CAUSED MY GAMES & NOT WORKING AS WELL, PLEASE HELP!
1
0
1.2k
Dec ’22
How Can I Synchronize Safari Tap group between devices?
I used to synchronize it well between my Ipad and Iphone but when I update to IOS16 developer beta, my safari begun to occur bugs in Safari so I turn off Safari in Icloud but when I turn on the Safari toggle in Icloud, they didnt sync between devices. I did toggle off the Safari toggl in cloud, in all devices, and turn off the device and turn on, erase backups, update new IOS with desktop and so many method to solve this problem. Does anyone have same issue with me and solve the problem? Plz save me from this suffer.
0
0
1k
Dec ’22
Is there a programmatic way to know the icloud status of a given local file?
The Finder displays the iCloud status (in the cloud, downloading, local) of every file associated with iCloud. How does it do this? Is there a way to search a given local folder and discover what the Finder knows? Is there a way to tell it programmatically to download any icloud files that aren’t downloaded?
1
0
2.1k
Nov ’22
Handoff with iCloud document-based app doesn't work
When tapping the Handoff icon of my app on the Mac or on the iPad, Xcode logs this error: [default personal] [ERROR] +[NSURL(BRAdditions) br_documentURLFromBookmarkableString:error:]: (passed to caller) error: Error Domain=BRCloudDocsErrorDomain Code=8 "Not Entitled" UserInfo={NSDescription=Not Entitled} When setting a breakpoint at NSApplicationDelegate.application(_:continue:restorationHandler:), I can see that userInfo.activityType is the one specified with the key NSUbiquitousDocumentUserActivityType under the Info.plist Document Types, but userActivity.userInfo is empty, so the document url is apparently not sent. Is there something else I have to set up?
1
0
2.0k
Nov ’22
on my iphone, ipad passcode says wrong but it isn’t.
i am trying to connect my messages from my ipad to my iphone. i tap the on thing and the continue for encrypted messages. the thing is when i put in my iphone passcode it was correct but not my ipad passcode. they had the same passcode, so i changed the iphone and now the ipad passcode, the one i didn’t change, doesn’t work. ik it’s correct. what should i do? what’s going on?? i restarted my phone too.
1
1
778
Nov ’22
Files are not visible on the iCloud Drive
My Enviroinment:xcode 8.2.1Swift 3.0MacOS 10.12.3Maybe I misunderstand how iCloud Drive is designed to work. My iPhone app will create files and store them in the app's ubiquitous file folder so they should appear in the icloud drive on the mac or PC. However the files are not visible with the mac finder even though the files do exist in the mac filesystem. More on this later.Here is my code to create the file:let containerURL = FileManager.default.url(forUbiquityContainerIdentifier: nil) let documentDirectoryURL = containerURL!.appendingPathComponent("Documents") let documentURL = documentDirectoryURL.appendingPathComponent("myFile.txt") let text = String("test message") text.write(to: documentURL, atomically:true, encoding:String.Encoding.utf8)You can see I am using the app's default ubiquity container URL and appending the folder "Documents" and appending a filename. The app runs without any errors and I can confirm the file is created and viewable from the iCloud Drive app on the phone. In fact the iCloud Drive app on the iPhone will show me the correct folder name as I defined it with NSUbiquitousContainerName. I can also view this file on the Mac in a couple ways:1) Using the terminal program on the Mac I can see the file is created and updated correctly at this path: /Users/mjc/Library/Mobile Documents/iCloud~com~mchartier~motoproto1/Documents/myFile.txt2) Using the Mac Finder I can see the file when I click on "All My Files".However I do not see the file or the app's ubiquitous folder when I click on "iCloud Drive" on the Finder. Nor do I see anything on icloud.com or on my PC running iCloud software.Here is another weird behavior: Open the Finder and click on "all my files" and I see my file. Right click on the file and select "show in containing folder" and now I see my file appear with the full path to the file as you would expect. So far so good. Now when I click on "iCloud Drive" I see a new folder appear called "TextEdit" which was never there before. Now when I click on TextEdit I can see my file appear and I can open and view file contents. However, I still do not see anything on icloud.comI have iCloud enabled in my xcode project capabilities and I have my entitlements setup correctly as far as I can tell. I am using the default ubiquity container. I increased my build number each time I changed info.plist to make sure the settings will take affect. Here are relevant lines from info.plist :<key>NSUbiquitousContainers</key><dict><key>iCloud.com.mchartier.motoproto1</key><dict><key>NSUbiquitousContainerIsDocumentScopePublic</key><true/><key>NSUbiquitousContainerName</key><string>MotoProto1</string><key>NSUbiquitousContainerSupportedFolderLevels</key><string>None</string></dict></dict>So to summarize: My ubiquitous folder is not ubiquitous at all. The files created on the iPhone can only be viewed correctly by using the iCloud drive app on the phone itself. The files are clearly sent into the iCloud because they show up on the Mac filesystem but my app's ubiquity folder will not show up in the iCloud Drive folder in the Finder.
15
1
18k
Oct ’22
CloudKit CKFetchWebAuthTokenOperation
Hi all,I'm using Postman and sending through the request:https://api.apple-cloudkit.com/database/1/iCloud.com.xxx.yyy/development/private/records/lookup?ckAPIToken=[removed ckAPIToken]&ckWebAuthToken=[removed ckWebAuthToken]Standard up to now. The difference is that I'm getting the ckWebAuthToken from an iOS app running, by calling:CKFetchWebAuthTokenOperation ("[ckAPIToken]")When I try and use that token generated, I'm receiving:{ "uuid": "......-.......-[removed]-........-......", "serverErrorCode": "ACCESS_DENIED", "reason": "private db access disabled for this account"}Is this even possible? Is the token generated by CKFetchWebAuthTokenOperation a viable token to use for the private database? It seems to work correctly for the public database. I can use it to determine the correct user and read records that have been hidden to both World and Authenticated users based on the Security Roles. But as soon as I try to use the exact same process, instead using the private database, it returns the above error.Am I missing something blatantly obvious? I may have read somewhere that the Web Service access to development private databases isn't available, but then again, I might not have. Anyone got any help?Thanks in advance.
3
1
2.3k
Sep ’22
Empty NSMetadataQuery results when trying to list iCloud folder contents
The flow I'm trying to achieve is "Make a selection of files and folders in a document browser. Copy the selected items into a folder." The destination folder is static and resides in the application's Documents folder. What I have now goes like this: Present UIDocumentBrowserViewController with allowsPickingMultipleItems. Have the user pick a file stored in iCloud. In didPickDocumentsAtURLs download the file. Works fine. Have the user pick a folder item in iCloud. List the folder contents with NSFileManager. This returns a nice set of NSURLs, but by design these can't be actually used to initiate a download. List the folder contents using an NSMetadataQuery. My observer gets notified of NSMetadataQueryDidFinishGatheringNotification, but the query results are empty. Search scopes and predicate of the query are: [[self metadataQuery] setSearchScopes:[NSArray arrayWithObjects:NSMetadataQueryUbiquitousDocumentsScope, NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope, url, nil]]; [[self metadataQuery] setPredicate:[NSPredicate predicateWithFormat:[NSString stringWithFormat:@"%%K like '*.*'"]]]; I'm expecting the query results to be a list of files currently present in the provided scopes. I've tried a number of variations for scopes and predicates, but the query's results is always empty.
0
1
934
Sep ’22
I rsync between two iCLoud location and lost the files.
I asked the same question on normal apple community, but I doubt people care. So I am asking here as it looks like more engineering question. Is this done by design? I did rsync -avzP --remove-source-files between two locations in iCloud drive in terminal. Lot of *.icloud files were copied, removed from source but they did not appear in destinations. So essentially I lost several video files. Being desperate I tried to do this with another set of videos that I can not regret deleting and the results are the same - directories were copied, files was lost, source directories was not removed. when I logged into iCloud drive on web browser and hit "recently deleted" there was zero files to recover. so what the hell? why rsync not copy properly important files? is it forbidden to ever touch *.icloud files?
1
0
1.2k
Sep ’22
"Field 'recordName' is not marked queryable" error when accessing cloud kit data
I am trying to load a list from cloud kit and getting a "Field 'recordName' is not marked queryable". The record type list is queryable. The field recordName is a system generated field that I cannot modify in the cloudkit dashboard. What can I do to load these items?let predicate: NSPredicate = NSPredicate(value: true) let query: CKQuery = CKQuery(recordType: "List", predicate: predicate) tView.text = "Fetching Icloud data" db.perform(query, inZoneWith: nil) { (records: [CKRecord]?, error: Error?) in if error != nil || records == nil{ print("Error in load: \(error!)") return } else{ var aList:[String] = [] for i in 0..<records!.count{ let record:CKRecord = records![i] aList.append(record.object(forKey: "item") as! String) } print("Records: \(records!)") OperationQueue.main.addOperation { self.tView.text = aList.joined(separator: "\n") } } }
9
0
16k
Sep ’22
Xcode 13.4.1 simulator with iCloud
iCloud Drive doesn't appear to work at all for me in the iOS 15.5 Simulator. As near as I can tell, it should. I've signed into my account in settings->Apple ID, iCloud, iTunes & App Store (and signed out/in several times). I've gone into iCloud settings and turned on/off/on/etc iCloud Drive and same for the app I'm developing. I've tried it on two different macs with the same results. When I use the Files app on the Simulator, it shows 0 items, 33.13 GB available. The 0 is wron but the 33.13 TB available is right so it's getting some of the info from iCloud Drive.
3
0
1.8k
Sep ’22
Deactivated iCloud Drive and Lost ALL my Documents
Someone please help. I had my iCloud Drive tick blue (it was activated) and synced to the documents on my MacBook. I had about 5 folders in my desktop. Because my MacBook was full of storage and I didn't need the documents to be stored in my MacBook, I decided to store them only on iCloud. So I unticked (deactivated) the iCloud Drive. I don't know if it was because the folders hadn't been uploaded to iCloud or something but when I deactivated the iCloud-macbook sync, this is what happened: the documents on my desktop disappeared (as expected) BUT when I accessed iCloud Drive on safari, they were NOWHERE to be found. What do I do?????
0
0
539
Aug ’22
Icloud woes
Filled my iCLoud when using my last phone and had turned it off anyway because it reminded me I was out of space 38 times a day. Of course when turning it off it threatens vaguely to delete all of your photos in wording that doesn't quite make sense. So before turning iCloud off on the last phone I hooked it up to my PC and downloaded all the pics, or so I thought. Then I turned off iCloud. Well, it brought maybe 15 percent of my pics over onto the PC. Ughhh. So, I was trying to see if my cloud photos were still there despite the iOS threats to delete them all forever to punish me for turning off iCloud and not simply buying more space. (Why oh why don't they just have an SD slot?!?!?!?!?!?!?!?!) I turned on iCloud for my new phone, which only has about 400 pics on it, and immediately I get the iCloud full warning, with 5 GB of photos, so my old pics are still there. Although I could not access them somehow via my new phone even though I followed the clear as mud instructions on the website. (I went to turn iCloud off again and then it said it was going to delete all of my 400 pictures on the new phone) like really? Well that was one of the only choices they funneled me to. in any case, that brings me to the matter at hand, which is I went to iCloud.com to try and look at and get some of my pics. I had to change my password because I forgot it.....apparently....even though when I chose my new password, it said it cant be the same as my last password....Really?!?! Well then I hadn't forgot, unless I made a typo 4 times a moment earlier. Sooooooooo now when I log into iCloud.com it says "Welcome Back!" for about 2 seconds before going back to the login screen, whereupon I am NOT, in fact logged in. Closed the browser, opened it again, same thing. I am just not impressed with the functionality of Apple's stuff at all. Yes, 2 factor is on, I had to go through that to change password etc. So what is wrong with the iCloud website or my access to said entity? Thanks,
Replies
0
Boosts
0
Views
1.2k
Activity
Dec ’22
How can I view the Development-server private data for my iCloud test account in the CloudKit Dashboard?
When developing a CloudKit application, the standard recommendation is to create an iCloud account for testing. That makes a lot of sense as I’d like to keep developing code far from my personal iCloud account. But the CloudKit Dashboard won’t let me view the private database for that account. What do other people do to check their work?* clarification: I mean on the development server, not the production server.
Replies
3
Boosts
0
Views
1.8k
Activity
Dec ’22
CloudKit returns error 500
Starting about a month ago some of my app users began getting the http 500 error when the app attempts to do anything (read or write) to their iCloud Drive. For AppleIDs that are affected, all apps that use iCloud Drive return the same error. "Request failed with http status code 500" Apple had the same problem last year around the same time (Dec 2021). It was never acknowledged This is a similar issue that happened about a year ago: https://www.macrumors.com/2022/01/26/apple-fixed-icloud-syncing-bug/ Can someone please looking this. I have also filed a bug report with Apple: FB11852660 Since Apple never acknowledges these outages, users blame our app
Replies
1
Boosts
3
Views
2.2k
Activity
Dec ’22
Reading an app's "Document Storage" value
How do I access the value enabled by setting UISupportsDocumentBrowser to YES? I have a small app called Doodler which acts as simple drawing board. The main feature, beyond doodling, is that every drawing is automatically saved either to local storage or iCloud Drive. I'd like to enable UISupportsDocumentBrowser but I can't work out how to access the resulting default location. For reference, here's the Settings UI for the same feature in Numbers:
Replies
0
Boosts
1
Views
1.2k
Activity
Dec ’22
My Game Center won't be able to load on App Store and Any Game Apps!
This will be an issue due to security problems or errors below: Why do you think that my Apple ID Account contains missing action with that iCloud username "FlashTeens In Minecraft"located in settings? If the feature but is not available. IT MIGHT ALSO CAUSED MY GAMES & NOT WORKING AS WELL, PLEASE HELP!
Replies
1
Boosts
0
Views
1.2k
Activity
Dec ’22
How Can I Synchronize Safari Tap group between devices?
I used to synchronize it well between my Ipad and Iphone but when I update to IOS16 developer beta, my safari begun to occur bugs in Safari so I turn off Safari in Icloud but when I turn on the Safari toggle in Icloud, they didnt sync between devices. I did toggle off the Safari toggl in cloud, in all devices, and turn off the device and turn on, erase backups, update new IOS with desktop and so many method to solve this problem. Does anyone have same issue with me and solve the problem? Plz save me from this suffer.
Replies
0
Boosts
0
Views
1k
Activity
Dec ’22
Is there a programmatic way to know the icloud status of a given local file?
The Finder displays the iCloud status (in the cloud, downloading, local) of every file associated with iCloud. How does it do this? Is there a way to search a given local folder and discover what the Finder knows? Is there a way to tell it programmatically to download any icloud files that aren’t downloaded?
Replies
1
Boosts
0
Views
2.1k
Activity
Nov ’22
Handoff with iCloud document-based app doesn't work
When tapping the Handoff icon of my app on the Mac or on the iPad, Xcode logs this error: [default personal] [ERROR] +[NSURL(BRAdditions) br_documentURLFromBookmarkableString:error:]: (passed to caller) error: Error Domain=BRCloudDocsErrorDomain Code=8 "Not Entitled" UserInfo={NSDescription=Not Entitled} When setting a breakpoint at NSApplicationDelegate.application(_:continue:restorationHandler:), I can see that userInfo.activityType is the one specified with the key NSUbiquitousDocumentUserActivityType under the Info.plist Document Types, but userActivity.userInfo is empty, so the document url is apparently not sent. Is there something else I have to set up?
Replies
1
Boosts
0
Views
2.0k
Activity
Nov ’22
on my iphone, ipad passcode says wrong but it isn’t.
i am trying to connect my messages from my ipad to my iphone. i tap the on thing and the continue for encrypted messages. the thing is when i put in my iphone passcode it was correct but not my ipad passcode. they had the same passcode, so i changed the iphone and now the ipad passcode, the one i didn’t change, doesn’t work. ik it’s correct. what should i do? what’s going on?? i restarted my phone too.
Replies
1
Boosts
1
Views
778
Activity
Nov ’22
icloud
icloud 新增搜尋關鍵字功能,以便快速找尋資料夾。 多種變更設定資料夾檢視方式,以便快速檢閱資料夾資訊。
Replies
1
Boosts
0
Views
804
Activity
Oct ’22
Files are not visible on the iCloud Drive
My Enviroinment:xcode 8.2.1Swift 3.0MacOS 10.12.3Maybe I misunderstand how iCloud Drive is designed to work. My iPhone app will create files and store them in the app's ubiquitous file folder so they should appear in the icloud drive on the mac or PC. However the files are not visible with the mac finder even though the files do exist in the mac filesystem. More on this later.Here is my code to create the file:let containerURL = FileManager.default.url(forUbiquityContainerIdentifier: nil) let documentDirectoryURL = containerURL!.appendingPathComponent("Documents") let documentURL = documentDirectoryURL.appendingPathComponent("myFile.txt") let text = String("test message") text.write(to: documentURL, atomically:true, encoding:String.Encoding.utf8)You can see I am using the app's default ubiquity container URL and appending the folder "Documents" and appending a filename. The app runs without any errors and I can confirm the file is created and viewable from the iCloud Drive app on the phone. In fact the iCloud Drive app on the iPhone will show me the correct folder name as I defined it with NSUbiquitousContainerName. I can also view this file on the Mac in a couple ways:1) Using the terminal program on the Mac I can see the file is created and updated correctly at this path: /Users/mjc/Library/Mobile Documents/iCloud~com~mchartier~motoproto1/Documents/myFile.txt2) Using the Mac Finder I can see the file when I click on "All My Files".However I do not see the file or the app's ubiquitous folder when I click on "iCloud Drive" on the Finder. Nor do I see anything on icloud.com or on my PC running iCloud software.Here is another weird behavior: Open the Finder and click on "all my files" and I see my file. Right click on the file and select "show in containing folder" and now I see my file appear with the full path to the file as you would expect. So far so good. Now when I click on "iCloud Drive" I see a new folder appear called "TextEdit" which was never there before. Now when I click on TextEdit I can see my file appear and I can open and view file contents. However, I still do not see anything on icloud.comI have iCloud enabled in my xcode project capabilities and I have my entitlements setup correctly as far as I can tell. I am using the default ubiquity container. I increased my build number each time I changed info.plist to make sure the settings will take affect. Here are relevant lines from info.plist :<key>NSUbiquitousContainers</key><dict><key>iCloud.com.mchartier.motoproto1</key><dict><key>NSUbiquitousContainerIsDocumentScopePublic</key><true/><key>NSUbiquitousContainerName</key><string>MotoProto1</string><key>NSUbiquitousContainerSupportedFolderLevels</key><string>None</string></dict></dict>So to summarize: My ubiquitous folder is not ubiquitous at all. The files created on the iPhone can only be viewed correctly by using the iCloud drive app on the phone itself. The files are clearly sent into the iCloud because they show up on the Mac filesystem but my app's ubiquity folder will not show up in the iCloud Drive folder in the Finder.
Replies
15
Boosts
1
Views
18k
Activity
Oct ’22
CloudKit CKFetchWebAuthTokenOperation
Hi all,I'm using Postman and sending through the request:https://api.apple-cloudkit.com/database/1/iCloud.com.xxx.yyy/development/private/records/lookup?ckAPIToken=[removed ckAPIToken]&ckWebAuthToken=[removed ckWebAuthToken]Standard up to now. The difference is that I'm getting the ckWebAuthToken from an iOS app running, by calling:CKFetchWebAuthTokenOperation ("[ckAPIToken]")When I try and use that token generated, I'm receiving:{ "uuid": "......-.......-[removed]-........-......", "serverErrorCode": "ACCESS_DENIED", "reason": "private db access disabled for this account"}Is this even possible? Is the token generated by CKFetchWebAuthTokenOperation a viable token to use for the private database? It seems to work correctly for the public database. I can use it to determine the correct user and read records that have been hidden to both World and Authenticated users based on the Security Roles. But as soon as I try to use the exact same process, instead using the private database, it returns the above error.Am I missing something blatantly obvious? I may have read somewhere that the Web Service access to development private databases isn't available, but then again, I might not have. Anyone got any help?Thanks in advance.
Replies
3
Boosts
1
Views
2.3k
Activity
Sep ’22
Empty NSMetadataQuery results when trying to list iCloud folder contents
The flow I'm trying to achieve is "Make a selection of files and folders in a document browser. Copy the selected items into a folder." The destination folder is static and resides in the application's Documents folder. What I have now goes like this: Present UIDocumentBrowserViewController with allowsPickingMultipleItems. Have the user pick a file stored in iCloud. In didPickDocumentsAtURLs download the file. Works fine. Have the user pick a folder item in iCloud. List the folder contents with NSFileManager. This returns a nice set of NSURLs, but by design these can't be actually used to initiate a download. List the folder contents using an NSMetadataQuery. My observer gets notified of NSMetadataQueryDidFinishGatheringNotification, but the query results are empty. Search scopes and predicate of the query are: [[self metadataQuery] setSearchScopes:[NSArray arrayWithObjects:NSMetadataQueryUbiquitousDocumentsScope, NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope, url, nil]]; [[self metadataQuery] setPredicate:[NSPredicate predicateWithFormat:[NSString stringWithFormat:@"%%K like '*.*'"]]]; I'm expecting the query results to be a list of files currently present in the provided scopes. I've tried a number of variations for scopes and predicates, but the query's results is always empty.
Replies
0
Boosts
1
Views
934
Activity
Sep ’22
I rsync between two iCLoud location and lost the files.
I asked the same question on normal apple community, but I doubt people care. So I am asking here as it looks like more engineering question. Is this done by design? I did rsync -avzP --remove-source-files between two locations in iCloud drive in terminal. Lot of *.icloud files were copied, removed from source but they did not appear in destinations. So essentially I lost several video files. Being desperate I tried to do this with another set of videos that I can not regret deleting and the results are the same - directories were copied, files was lost, source directories was not removed. when I logged into iCloud drive on web browser and hit "recently deleted" there was zero files to recover. so what the hell? why rsync not copy properly important files? is it forbidden to ever touch *.icloud files?
Replies
1
Boosts
0
Views
1.2k
Activity
Sep ’22
"Field 'recordName' is not marked queryable" error when accessing cloud kit data
I am trying to load a list from cloud kit and getting a "Field 'recordName' is not marked queryable". The record type list is queryable. The field recordName is a system generated field that I cannot modify in the cloudkit dashboard. What can I do to load these items?let predicate: NSPredicate = NSPredicate(value: true) let query: CKQuery = CKQuery(recordType: "List", predicate: predicate) tView.text = "Fetching Icloud data" db.perform(query, inZoneWith: nil) { (records: [CKRecord]?, error: Error?) in if error != nil || records == nil{ print("Error in load: \(error!)") return } else{ var aList:[String] = [] for i in 0..<records!.count{ let record:CKRecord = records![i] aList.append(record.object(forKey: "item") as! String) } print("Records: \(records!)") OperationQueue.main.addOperation { self.tView.text = aList.joined(separator: "\n") } } }
Replies
9
Boosts
0
Views
16k
Activity
Sep ’22
Xcode 13.4.1 simulator with iCloud
iCloud Drive doesn't appear to work at all for me in the iOS 15.5 Simulator. As near as I can tell, it should. I've signed into my account in settings->Apple ID, iCloud, iTunes & App Store (and signed out/in several times). I've gone into iCloud settings and turned on/off/on/etc iCloud Drive and same for the app I'm developing. I've tried it on two different macs with the same results. When I use the Files app on the Simulator, it shows 0 items, 33.13 GB available. The 0 is wron but the 33.13 TB available is right so it's getting some of the info from iCloud Drive.
Replies
3
Boosts
0
Views
1.8k
Activity
Sep ’22
Deactivated iCloud Drive and Lost ALL my Documents
Someone please help. I had my iCloud Drive tick blue (it was activated) and synced to the documents on my MacBook. I had about 5 folders in my desktop. Because my MacBook was full of storage and I didn't need the documents to be stored in my MacBook, I decided to store them only on iCloud. So I unticked (deactivated) the iCloud Drive. I don't know if it was because the folders hadn't been uploaded to iCloud or something but when I deactivated the iCloud-macbook sync, this is what happened: the documents on my desktop disappeared (as expected) BUT when I accessed iCloud Drive on safari, they were NOWHERE to be found. What do I do?????
Replies
0
Boosts
0
Views
539
Activity
Aug ’22