Resolve `DEVELOPER_DIR` from environment variable first before forking `xcode-select`
lacasseio opened this issue · comments
Daniel Lacasse commented
As a developer using Xcode, I want to approximate the result of xcode-select --print-path
by first looking at the DEVELOPER_DIR
environment variable to avoid the inefficiency of process forking.
Acceptance Criteria
- Given
DEVELOPER_DIR
environment variable when querying Xcode installation's developer directory, then returns the value ofDEVELOPER_DIR
. - Given no
DEVELOPER_DIR
environment variable when querying Xcode installation's developer directory, then forkxcode-select --print-path
.