I have exactly the same problem (also IOS 14 only and working in iOS 13).
I found that NSMetadataQuery is broken. If you set up a NSMetadataQuery for a file in an ubiquitous container on iCloud, iOS14 will not receive the NSMetadataQueryDidUpdate notification, when you e.g. delete or modify the file with Finder. Even changes made from the iOS app that is running the query are NOT notified. Again : IOS 14 only.
I think this is a VERY SERIOUS problem which should be solved asap. It renders iCloud sync across devices completely useless !
Furthermore the NSFilePresenter protocol is also broken. If you set up a FilePresenter to monitor an iCloud ubiquitous file, the presentedItemDidChange() never gets called under iOS14. In iOS 13 it works as intended. Please note that file changes using a file NSFileCoordinator initiated by iOS 14 are propagated to iOS 13 devices that are registered as presenters, but not vice versa.
I think both problems are highly related.
I have already submitted a TSI and reported a bug in feedback assistant, but nobody cares !
@Others: Please submit these bugs as well so that we receive awarenesses for this serious problem !
@Apple: Please help ASAP
Finally here my posts for both problems on SO: https://stackoverflow.com/questions/64444494/ios-14-nsmetadataquery-not-updating-no-notifications-are-sent-works-on-ios13
https://stackoverflow.com/questions/64446024/ios-14-nsfilepresenter-not-getting-callbacks-notifications-works-on-ios13
Topic:
App & System Services
SubTopic:
Core OS
Tags: