You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Xcode project has a dependency with SSH link ([email protected]:team/private_repo) and SSH key to this host is protected with password, swift outdated command get stuck. Most likely, it awaits for the SSH key password input, but because it is executed in a subshell user don't see it and cannot type in password to continue.
Possible fix
Check if dependency link is SSH user@host:path, check (if possible) if password input is required and suggest to use ssh-agent and ssh-add before swift outdated
Workardound
Perform eval (ssh-agent -t 10m -c); ssh-add ~/.ssh/YOUR_PRIVATE_KEY before swift outdated
The text was updated successfully, but these errors were encountered:
Hey again, sorry for nothing happening here. I've played around a bit with a possible fix for this every now and then in the last few months, but haven't gotten something functional together yet. It's definitely still on my list though for swift-outdated to do something instead of just getting stuck on interactive input.
If Xcode project has a dependency with SSH link (
[email protected]:team/private_repo
) and SSH key to this host is protected with password,swift outdated
command get stuck. Most likely, it awaits for the SSH key password input, but because it is executed in a subshell user don't see it and cannot type in password to continue.Possible fix
Check if dependency link is SSH
user@host:path
, check (if possible) if password input is required and suggest to usessh-agent
andssh-add
beforeswift outdated
Workardound
Perform
eval (ssh-agent -t 10m -c); ssh-add ~/.ssh/YOUR_PRIVATE_KEY
beforeswift outdated
The text was updated successfully, but these errors were encountered: