Trying to execute altool command, but it fails, that password is incorrect:
xcrun altool --list-apps -u [email protected] -p PASSWORD
- I did try to use my user name password.
- I did try to use @keychain functionality failing, that it is failing because keychain item not found. I did fallow this instructions. It is failing with this message: Error: Failed to read legacy keychain item
3
Answers
Notes: After changing users password all app specific passwords will be revoked.
The failed to read legacy keychain item is simply because you put the password in your keychain a long time ago and OS X has had several updates in the mean time. Simply run the store command again:
You can remove the old item if it is still there. Now your script can read the password with -p "@keychain:AL_TOOL".
I only get this error if I place the password in an iCloud keychain. If I open Keychain Access and add a password item with specifically selecting "login" keychain, altool is able to read from it without an error.