writeBookmarkData(_:to:)
Creates an alias file on disk at a specified location with specified bookmark data.
Declaration
static func writeBookmarkData(_ data: Data, to url: URL) throwsDiscussion
The data must have been created with the suitableForBookmarkFile option. The url must either refer to an existing file (which will be overwritten), or to location in an existing directory.