Function tugger_apple::default_developer_directory[][src]

pub fn default_developer_directory() -> Result<PathBuf>

Obtain the current developer directory where SDKs and tools are installed.

This returns the DEVELOPER_DIR environment variable if found or uses the xcode-select logic for locating the developer directory if not. Failure the locate a directory results in Err.

The returned path is not verified to exist.