Strange behaviour ListMonitor in Xcode 12b5 #342

Closed
opened 2025-12-29 15:29:32 +01:00 by adam · 9 comments
Owner

Originally created by @iEdward on GitHub (Aug 26, 2020).

Hi! I'am use ListMonitor in my project. In Xcode 11 when I create ListMonitor, it loads all object from database. In Xcode 12 it ignored existing objects and load only new created.

I create demo project to illustrate this
https://github.com/iEdward/CoreStoreListMonitor_Test

Originally created by @iEdward on GitHub (Aug 26, 2020). Hi! I'am use ListMonitor in my project. In Xcode 11 when I create ListMonitor, it loads all object from database. In Xcode 12 it ignored existing objects and load only new created. I create demo project to illustrate this https://github.com/iEdward/CoreStoreListMonitor_Test
adam added the fixedios/compiler bug labels 2025-12-29 15:29:32 +01:00
adam closed this issue 2025-12-29 15:29:32 +01:00
Author
Owner

@JohnEstropia commented on GitHub (Aug 28, 2020):

I'll take a look

@JohnEstropia commented on GitHub (Aug 28, 2020): I'll take a look
Author
Owner

@JohnEstropia commented on GitHub (Aug 28, 2020):

@iEdward Thanks for the report.
Yeah this is weird. Can you reproduce it on any device?

It seems to be a simulator bug because I can't reproduce it on my iOS 13 iPhone.
It doesn't seem to be an NSFetchedResultsController issue as well after trying out a plain NSFetchedResultsController on iOS 14 simulator.

The demo apps seem to work properly as well 🤔

@JohnEstropia commented on GitHub (Aug 28, 2020): @iEdward Thanks for the report. Yeah this is weird. Can you reproduce it on any device? It seems to be a simulator bug because I can't reproduce it on my iOS 13 iPhone. It doesn't seem to be an `NSFetchedResultsController` issue as well after trying out a plain `NSFetchedResultsController` on iOS 14 simulator. The demo apps seem to work properly as well 🤔
Author
Owner

@iEdward commented on GitHub (Aug 28, 2020):

It reproduced on my device -
iOS 14.0 (18A5357e)
Model: iPhone X (Model A1865, A1901, A1902, A1903)

In Xcode 12b6 still reproduce.

My application build in Xcode 11 and downloaded from TestFlight works fine on iOS 14. If I build it in Xcode 12 - stop working.

@iEdward commented on GitHub (Aug 28, 2020): It reproduced on my device - iOS 14.0 (18A5357e) Model: iPhone X (Model A1865, A1901, A1902, A1903) In Xcode 12b6 still reproduce. My application build in Xcode 11 and downloaded from TestFlight works fine on iOS 14. If I build it in Xcode 12 - stop working.
Author
Owner

@JohnEstropia commented on GitHub (Aug 28, 2020):

Thanks, so I guess this is an iOS 14 issue.
I'll try to investigate further

@JohnEstropia commented on GitHub (Aug 28, 2020): Thanks, so I guess this is an iOS 14 issue. I'll try to investigate further
Author
Owner

@JohnEstropia commented on GitHub (Aug 28, 2020):

Submitted to Feedback Assistant for now (FB8563134). Hope they take a look ASAP

@JohnEstropia commented on GitHub (Aug 28, 2020): Submitted to Feedback Assistant for now (FB8563134). Hope they take a look ASAP
Author
Owner

@skytoup commented on GitHub (Sep 6, 2020):

I'm in a similar situation, using ListPublisher in iOS14 I can't fetch the data, but the same query statement to fetch the quantity is normal. After a round of testing, it was confirmed that the fetchBatchSize property was set to cause the problem, and a developer has reported back to Apple!

https://developer.apple.com/forums/thread/658717

@skytoup commented on GitHub (Sep 6, 2020): I'm in a similar situation, using `ListPublisher` in iOS14 I can't fetch the data, but the same query statement to fetch the quantity is normal. After a round of testing, it was confirmed that the `fetchBatchSize` property was set to cause the problem, and a developer has reported back to Apple! `https://developer.apple.com/forums/thread/658717`
Author
Owner

@JohnEstropia commented on GitHub (Sep 6, 2020):

@skytoup Thanks for the info! I'll take a look and see if we can find a temporary workaround within CoreStore 👍

@JohnEstropia commented on GitHub (Sep 6, 2020): @skytoup Thanks for the info! I'll take a look and see if we can find a temporary workaround within CoreStore 👍
Author
Owner

@JohnEstropia commented on GitHub (Sep 6, 2020):

Oops, It sounds like they fixed it on beta 7. I'll confirm

@JohnEstropia commented on GitHub (Sep 6, 2020): Oops, It sounds like they fixed it on beta 7. I'll confirm
Author
Owner

@JohnEstropia commented on GitHub (Sep 19, 2020):

This should be fixed in the GM release so I'm marking this as resolved. If you are still having issues please submit a bug report to Apple

@JohnEstropia commented on GitHub (Sep 19, 2020): This should be fixed in the GM release so I'm marking this as resolved. If you are still having issues please submit a bug report to Apple
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#342