init(resolvingAliasFileAt:options:)
Creates a URL that refers to the location specified by resolving an alias file.
Declaration
init(resolvingAliasFileAt url: URL, options: URL.BookmarkResolutionOptions = []) throwsDiscussion
If the url argument doesn’t refer to an alias file (as defined by the isAliasFileKey property), the returned URL is the same as the url argument.
This method throws an error in the following cases:
The url argument is unreachable.
The original file or directory is unknown or unreachable.
The original file or directory is on a volume that the system can’t locate or can’t mount.
This method doesn’t support the withSecurityScope option.