Locates all URLs for applications that correspond to the specified bundle identifier.
- macOS 10.10+
- Core Services
The bundle identifier of interest, such as "com.apple.finder". Must not be
On failure, set to a CFError describing the problem. If you aren't interested in this information, pass
NULL. The caller is responsible for releasing this object.
The URLs for any applications with the specified bundle identifier returned in a CFArray. If no application is found,
NULL is returned and
out (if not
NULL) is populated with
In macOS 10.15 and later, the returned array is sorted with the first element containing the best available application with the specified bundle identifier. Prior to macOS 10.15, the order of elements in the array was undefined.
The caller is responsible for releasing this array.