Post

Replies

Boosts

Views

Activity

Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
Oh, ****... that's not good. The moment I noticed this bug back in iOS15 beta 4 I thought it was a critical bug, but took a while to convince anyone. Still no further updates from Apple at my end but will post as soon as I have any updates. Thanks for submitting a parallel feedback report. Because this bug seems to appear only with complex Core Data structures, a lot of Developers are probably just not seeing it yet.
Nov ’21
Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
Not yet. The ball is in Apple's court but they know it's an issue and they're working on it. Due to the complexity of finding the bug, fixing it, testing it and merging it with the existing update roadmap, it might take several weeks before it's fixed... but I do know that the Frameworks Engineers are working hard to sort this out. As soon as I here something official in the TSI and I can report it here, I'll let you know.
Oct ’21
Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
Thanks for the reply. As I wasn't getting feedback on my feedback I wasn't filled with confidence that uploading anything else would help - it felt like a one-way process. I see the same issue trying to restore the de-identified backup file I sent to FB9412346 (stripped of image data) - there is no way I can simulate this easily as we're talking about syncing thousands of small patient ID label images. A DTS Engineer (who I've liaised with before) has been in touch and I've sent a detailed set of test files & simple instructions to import them to see that, above a certain threshold, it fails to sync. Hopefully he'll see the issue at his end. At least we can now have a back & forth, rather than posting on a forum which is a clunky way to try and resolve this. Because I was led to believe this was a bug (and others have seen it too), and it only started happening at a specific iOS change I've always assumed it wasn't my fault... but maybe it is, and that's why I filed a TSI, but until now was always bounced back to Feedback. In some ways I hope it is me just being a muppet.
Sep ’21
Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
I've had an Apple Engineer reply to me now directly with my TSI so hopefully we can get to the bottom of this. When I ingest a small external data file it imports and syncs to iCloud, but as the file size increases (and the relationship counts increases), the delay in syncing and RAM consumption increases significantly to the point where it fails to sync at all. My backup restore is effective a 'large' data file with 19,000 metadata objects - entities, relationships, etc). There is something about relationships that is grinding things to a halt, a problem which didn't exist in iOS 13 & 14.
Sep ’21
Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
It's the same (de-identified) backup file I've sent previously (to my Feedback FB9412346). The biggest frustration is that there is no conversation going on in that Feedback thread of mine - I feel like I'm yelling into the void - so I have to keep coming back here for any interaction with Apple - thank you at least for replying here! I just need someone at Apple to download my app, restore that backup file, and observe what (doesn't) happen(s). Even in my TSI I've only received vague replies such as 'it will be fixed in beta 2' but I'm not able to engage with anyone directly to get to the bottom of this quickly. My issue is that this 'backup restore' and subsequent sync to iCloud worked just fine in iOS 15 beta 3 and before (iOS 13 & iOS 14) so something changed... and my app didn't (at least none of that code). It's the same version that's been syncing for a year on iOS 14, etc. If my app no longer syncs, it's going to be the end of it unfortunately. πŸ˜”
Sep ’21