xcode-install icon indicating copy to clipboard operation
xcode-install copied to clipboard

Don't output 'Please authenticate to install simulator' is sudo was authenticated earlier.

Open nickolas-pohilets opened this issue 8 years ago • 4 comments

If sudo was authenticated before, then password prompt won't appear and installation will proceed. In this case, you see a line telling you to authenticate and an empty line with blinking cursor. The later may be confused for the insecure password prompt.

It is possible to check if sudo requires a password by executing dummy command with sudo -n. This is racy, and there is a chance that password will be requested without printing the line in question. But IMHO, overall user experience should be better with this check.

nickolas-pohilets avatar Oct 12 '17 10:10 nickolas-pohilets

Ah, I think this is what I've been seeing. Quite confusing. Usually occurs when I'm installing many sims sequentially (and manually).

jshier avatar Mar 30 '18 23:03 jshier

So after the Please authenticate to install iOS 8.1 Simulator... we just need to wait until there is a Successfully installed iOS 8.4 Simulator ?

tolsadus avatar Nov 01 '18 08:11 tolsadus

Was searching for a solution for this, and turns out patience is the key. Very confusing behaviour

igorgn avatar Oct 27 '19 13:10 igorgn

Oh. :(

tolsadus avatar Oct 27 '19 13:10 tolsadus