I wanted to use NSMetadataQuery
on tvOS to query for a file changed through iCloud.
However, the app crashes directly when instantiating a NSMetadataQuery
object.
Documentation says its available since tvOS 9.0. https://developer.apple.com/documentation/foundation/nsmetadataquery
It crashes in the simulator (tvOS 15.4 and tvOS 16) as well as on a real device with the latest tvOS version.
I just created it like this:
private let metadataQuery = NSMetadataQuery()
Is it not possible to use NSMetadataQuery
on tvOS?
I also filed a feedback FB11422512