I have this problem now.
and the workaround suggested by Eskimo... has been blocked. We get an error message that says it was expecting a class instead of an array.
I suspected it was a holdover from Obj-C so I converted the Array to an NSArray, resulting in a completely different error that claims "setResource(, forKey:) is no longer available, and I should instead use the plural form of the same thing : "NSURL.setResources()"
That in turn doesn't work, because... surprise... you cannot set the tag names in an URLResourceValues object. it is read only.
so... I guess that's that then.
Topic:
App & System Services
SubTopic:
General
Tags: