I have developer an app, and it is in the App Store now, but apparently, I have done something rather pointless.
I granted it the entitlements:
com.apple.security.assets.movies.read-only com.apple.security.assets.music.read-only com.apple.security.files.downloads.read-only
But I have no idea how to get the system paths associated with these entitlements. Currently, the user has to manually grant permission to files in these paths for them to work, as I have no idea how to exclude them from requirement to ask the user to add the directories.
[[NSFileManager defaultManager] URLForDirectory:..] is useless, as it returns paths inside the app's container.
This is also challenging, as I default to setting a file tree browser to the user's Music directory, which can be located anywhere, but instead, it points inside the sandbox container.