Post

Replies

Boosts

Views

Activity

Recover the content of a CloudKit container, suppressed by mistake ?
Hi, I made a mistake as I was trying to manage the storage on my iPhone. In Settings / myName / manage storage / swiftUI, I selected “erase data…” I realized afterwards that this was linked to the CloudKit container from an app I had developed for myself. This app keeps records of my purchases and consumption of wine bottles. All the content of this app has therefore vanished. it contained several years of data. This app uses CoreData and CloudKit. Does anyone know if there is any chance to recover my data ? On iCloud.com, I see no way to do such a thing. On CloudKit console, I don’t see any possibility. I have a backup of my iPhone on my computer; I guess that if I restore the iPhone, it will have some “CoreData” data, but not everything (images for example). And in that case, how to transfer back the data to the CloudKit container ? Thanks for your help ! Best regards Nicolas
1
0
476
Jul ’22
XPC connection was invalidated
Hi, The following code generates the message "XPC connection was invalidated" when I click on "Hello world", both in the simulator and on my iPhone. import SwiftUI import EventKit struct ContentView: View {     var body: some View {         Text("Hello, world!")             .onTapGesture {                 let _ = EKEventStore()             }     } } Of course the code for my app is more detailed, but I just publish this sample code that is sufficient to generate the XPC message. I am using Xcode 12.3 and Big Sur. In Info.plist, "Privacy - Calendars Usage Description" is declared with an associated string. Any reason for this error message ? Can I just ignore it ? Thanks for your help, Nicolas
0
0
1.5k
Jan ’21