Function apple_sdk::find_xcode_apps

source ·
pub fn find_xcode_apps(applications_dir: &Path) -> Result<Vec<PathBuf>, Error>
Expand description

Attempt to resolve all available Xcode applications in an Applications directory.

This function is a convenience method for iterating a directory and filtering for Xcode*.app entries.

No guarantee is made about whether the directory constitutes a working Xcode application.

The results are sorted according to the directory name. However, Xcode.app always sorts first so the default application name is always preferred.