XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.82k stars 133 forks source link

fix(XcodeInstaller): Infinite auth fail loop #125

Closed ccarpita closed 3 years ago

ccarpita commented 3 years ago

If the ENV password is incorrect, the loginWithNeeded method will fail in a recurring loop. This change will ensure that STDIN input is required if authentication fails the first time. Also, the current username is printed out on the password input line for improved clarity.

ccarpita commented 3 years ago

Thanks for making the changes and merging!