xcpretty / xcode-install

🔽 Install and update your Xcodes
https://fastlane.tools
MIT License
2.58k stars 237 forks source link

Failure to install Xcode after few failed attempts to enter password #463

Open pronebird opened 1 year ago

pronebird commented 1 year ago

Xcode lands in the current directory (Xcode-beta.app) and is never copied into /Applications. The password is eventually entered correctly. So I'll just drop it to /Applications manually, however that looks like a bug to me.

% xcversion install '14 beta 4' --retry-download-count=999
Available session is not valid any more. Continuing with normal login.
100   319  100   319    0     0    122      0  0:00:02  0:00:02 --:--:--   122%
100   305  100   305    0     0    100      0  0:00:03  0:00:03 --:--:--  297k
100   305  100   305    0     0    100      0  0:00:03  0:00:03 --:--:--  297k
100   305  100   305    0     0    100      0  0:00:03  0:00:03 --:--:--  297k
 15 7133M   15 1140M    0     0   216k      0  9:23:24  1:30:02  7:53:22 1009k%^R
100 7133M  100 7133M    0     0   918k      0  2:12:33  2:12:33 --:--:--  563k%
%Please authenticate for Xcode installation.
Password: 
Sorry, try again.
Please authenticate for Xcode installation.
Password: 
Sorry, try again.
Please authenticate for Xcode installation.
Password: 
sudo: 3 incorrect password attempts
/Applications/Xcode-14.beta.4.app: No such file or directory

Password:
Sorry, try again.
Password:
SMJ93 commented 1 year ago

Are you using your mac password or app store connect password? It should be your mac password

pronebird commented 1 year ago

@SMJ93 I can't get my password right 3 times in a row. Then on fourth attempt I manage, but then something is already broken in Xcode-install so it doesn't copy Xcode into /Applications.

SMJ93 commented 1 year ago

@pronebird there was an issue with xcode 14 beta 5 for me (M1 mac) so I had to run xcversion install '14 beta 4'