Cloud and Local Storage

RSS for tag

Store data locally or in the cloud.

Posts under Cloud and Local Storage tag

44 Posts
Sort by:
Post not yet marked as solved
0 Replies
382 Views
hello guys, recently i have a project with my team which need to use cloud kit for the apps. but it turns out that my other teams cannot use the icloud/cloud kit that i make in my xcode. is there any way to share this cloud kit so we can work together with it? ps: I join the individual developer account
Posted
by
Post marked as solved
31 Replies
40k Views
Hi Dev Team, I don’t see many answers on this topic but this seems to be a real concern for many users. I went from my IPhone 8+ with 256gb and I had 39gb used, about 7gb was other storage no big deal. I decided to go with an iPhone 12 Pro Max 128gb. I now have 60gb used of which 26gb is other storage!!! I have done 3 clean installs from different iCloud backups and no change. I do not buy an iPhone to see half of my storage being used by other and system storage. Also I do not explain why I now see some gb with photos and messages as it is normally all stored on iCloud (I have 2.2tb). Same thing I do not subscribe to iCloud or AppleOne to have data store on my iPhone while it should be all on iCloud. I did not have this on my 8+. I called Apple but they were clueless...simply telling me that it is normal and that it may take a few days for things to get back to normal...it is not true. is that a bug? My iPhone flash memory corrupted?Will this be taken into consideration? Anyone else having this issue please post. Thanks much! X
Posted
by
Post not yet marked as solved
3 Replies
1.2k Views
Hi all, I'm trying to use NSPersistentCloudKitContainer.initializeCloudKitSchema() to initialise a public CloudKit database, but it seems to fail when any given entity has more than two String fields (or, it seems, any two fields which NSPersistentCloudKitContainer decides need to be CKAsset-backed). I've raised rdar://FB8995024 about this too, but was wondering if someone here can see something I'm missing. I can consistently reproduce this on iOS 14.4 (18D46) on the iOS Simulator with Xcode 12.4 (12D4e), or with an iPhone 11 Pro running iOS 14.4 (18D52) using this code (in a new iOS App project, SwiftUI/SwiftUI App/Swift, Use Core Data+Host in CloudKit) and a single Core Data entity with two String attributes: import CoreData import SwiftUI @main struct NSPersistentCloudKitContainer_initTestingApp: App {     let persistenceController = PersistenceController.shared     var body: some Scene {         WindowGroup {             Text("Success")         }     } } struct PersistenceController {     static let shared = PersistenceController()     let container: NSPersistentCloudKitContainer     init() {         container = NSPersistentCloudKitContainer(name: "NSPersistentCloudKitContainer_initTesting") 				// If we change this to .private, everything is fine         container.persistentStoreDescriptions[0].cloudKitContainerOptions?.databaseScope = .public         container.loadPersistentStores(completionHandler: { (storeDescription, error) in             if let error = error as NSError? {                 fatalError("Unresolved error \(error), \(error.userInfo)")             }         })         do {             try container.initializeCloudKitSchema()         } catch {             fatalError("###\(#function) Error initialising CloudKit schema: \(String(describing: error))")         }     } } Thanks!
Posted
by
Post not yet marked as solved
0 Replies
592 Views
Hi guys I use pCloud Drive as a network drive but since updating to 11.3 Beta (20E5196f) on my M1 Mac mini I have had an issue where I can't open it at all. I get the error: language The application "pCloud Drive" can't be opened. 6 When opening normally and when right clicking and "open" nothing happens at all. Can anyone point me in the right direction as. an fairly new Mac user? or is this just because I am on the beta. (upgraded to fix issues I was having with the m1 mini). Thanks
Posted
by
Post not yet marked as solved
2 Replies
719 Views
Hey all, I've just taken Xcode 13 Beta 2, and I still can't get the sample code from the "Sharing-Data" code to work properly, and nor does the boilerplate code from creating a new project that incorporates CodeData and CloudKit work. Fo far my feedback items have not been identified as having other similar issues - based on the posts I'm seeing I'm not the only one experiencing the same problem. Has anyone got this code built and working yet? Mine breaks when you try to copy the sharing link.
Posted
by
Post not yet marked as solved
2 Replies
1k Views
I've downloaded the Fruit Basket demo project to get a better understanding of how to implement a file provider for macOS. From running the program and looking through some of the code, I believe I have a vague notion about what it does, only I'm still unsure about a lot of things. Where can someone find more information about how Fruit Basket is supposed to work and how it can be used?
Posted
by
Post not yet marked as solved
0 Replies
468 Views
When I add a picture in a shared item from a device other than the owner I am getting an error in the console as follows: CoreData: Unable to provide a default CKRecordZoneID for database scope: Shared. Please note that I am using the sample project from the WWDC video titled Build apps that share data through CloudKit and Core Data. How might I be able to fix this error and what might be causing it?
Posted
by
Post not yet marked as solved
0 Replies
371 Views
Hi. We are looking into using the user's call history data on an iOS app. The call history has been extracted from the user's iCloud backup. My question is if there is any EULA or something preventing us from legally using this data in our iOS app and thus if it will pass the Apple verfication for the App Store, since the data has not been provided through any official framework. Thank you.
Posted
by
Post not yet marked as solved
0 Replies
282 Views
Hi all, I hope you can help with advice. To start, I know little of App programing. I have someone assisting on the side with this. Currently in the app, before a user makes payment towards a service booking, they must for every single payment provide the: Name on Card, Card number, Exp date and CSV number. After doing this they are automatically transferred to their banks website to submit an OTP which is then sent to their phone number registered with their bank. Note that I make use of a payment gateway, without 3D secure (using 3D secure would mean a bigger payment percentage the payment gateway takes). I was hoping that on the app page where the card information is completed the information entered during the first time (except for the CSV number of course) can be stored on the app's database which will then allow for a better UI and UX experience when the client makes payment. The person assisting with the coding however informed me that Apple will not approve a build which stores card information. Al the apps I see, however exactly does this and only let you complete the CSV which is still missing. Am I understanding something wrong and/or is there maybe another way to skin the Cat for a better UI, UX experience? Thank you in advance
Posted
by
Post not yet marked as solved
2 Replies
882 Views
ISSUE: "testL2R" is a local folder added. After uploaded to server, I set its meta as isUploaded=YES and set the badge as SyncDone, and signal its parent. Through fileproviderctl tool, I can see the badge name is correctly set. But finderUI never update unless I go to root folder and reenter Private folder again. I also tried signal workingSet, signal multiple times. Neither of them work. How can I get FinderUI updated?
Posted
by
Post not yet marked as solved
1 Replies
530 Views
I am trying to use the new API provided by WWDC21 to create Core Data databases that can be shared. When I do the sharing for an NSManageObject, I tried to experiment with 2 methods. 1: Using UICloudSharingController's UICloudSharingController(preparationHandler: (UICloudSharingController, @escaping (CKShare?, CKContainer?, Error?) -> Void) -> Void) method. Currently this method works and the participants can get all the data after accepting the invitation. 2:Use NSPersistentContainer's share(_ managedObjects: [NSManagedObject], to share: CKShare?) async throws -> (Set<NSManagedObjectID>, CKShare, CKContainer) method. First get ckshare, then call UICloudSharingController(share:, container: ) With this approach, after accepting the invitation, the participant only gets the data generated after the creation of the ckshare, and the data before the ckshare is never fetched I'm not sure if it's an error in the token generated by the share method of the NSPersistentContainer or something else. Has anyone encountered a similar situation?
Posted
by
Post not yet marked as solved
8 Replies
2.2k Views
I have been excited to add NSPersistentCloudKitContainer's share functionality to my app but I've noted a few thing I suspect are bugs: -When using share() on a NSManagedObject the share record is set up in a new zone. However, the root NSManagedObject's record is not being updated with the relationship linkage to the shared record. -Secondly, when you revoke a share, the cloudkit.share record is removed from iCloud, but not in the local data stores. This makes the fetchShares() method ineffective for detecting a missing cloudkit.share record. In order to re-share the root object the developer must call out to iCloud directly using the old methods to be sure if the share exists or not. I am using the code from Apple's 'Synchronizing a Local Store to the Cloud' sample. It would be nice if they added support for revoking shares into this sample and addressed these issues.
Posted
by
Post not yet marked as solved
2 Replies
680 Views
What's the purpose of NSFileProviderReplicatedExtension.item(for:request:completionHandler:) call. It seems like it duplicate what the NSFileProviderEnumerator.enumerateItems(for:startingAt:) already returned. I couldn't find where and why this method is called. What happens if it return different types than from the enumerator? Can you please point me to some explanation what is the relation between these two calls?
Posted
by
Post not yet marked as solved
0 Replies
261 Views
Hello good afternoon, I need help, I want to know what solutions mac has to make backups in the cloud, I understand that locally you can make backups with the time machine, but I would like to do the same with the entire profile but in the cloud. This solution must be for companies. Thank you very much for your support. AB
Posted
by
Post not yet marked as solved
2 Replies
300 Views
iphone storage calculation showing incorrect storage info clearance on photos videos data files completed storage still recorded as full seems like the phone is locked, sut or proxy by unknown entity please some nice soul help me
Posted
by