sonoma | getResourceValue forKey ubiquitousItemDownloadingStatusKey

Hi, When running with sudo, getResourceValue forKey:ubiquitousItemDownloadingStatusKey succeeds, but the value isn't populated (null). When running the function as a user, the value is populated as expected.

try url.getResourceValue(&value, forKey:URLResourceKey.ubiquitousItemDownloadingStatusKey)

Any advice?

sonoma | getResourceValue forKey ubiquitousItemDownloadingStatusKey
 
 
Q