rhunt222

Results 9 comments of rhunt222

Thanks @malhal , it seems as though the response is coming back ok (since the CloudKit logs show the responses coming in and the database providing data back) but I...

When I enable CloudKit.verbose it only prints the JSON response from CloudKit when it is successful. I was able to get one to go through successfully and that character (35406)...

hmm, tried this and it still won't print anything: let dataString = NSString(data: data, encoding: String.Encoding.utf8.rawValue) CloudKit.debugPrint(dataString as Any)

Also tried changing the jsonObject at like 201 to: `let jsonObject = try JSONSerialization.jsonObject(with: data, options: [.allowFragments]) as! [String: Any]` but still have an error on the results. Prints twice:...

Also tried this before Serialization: `print("data received is \(data.count) bytes:\n\(data)") ` And got this in the console: `data received is 35419 bytes: 35419 bytes caught error?: The data couldn’t be...

@malhal I think I got it. After doing some research it looks like the didReceive data: function for URLSessionDataDelegate (in CKURLRequest) gets called when receiving anytime any data is received...

@malhal Can you provide an example of implementing CKPrettyErrors or CKError?

Thanks, I'll check it out!