Closed alexandru-calinoiu closed 2 years ago
It is by design behavior because command to switch Xcode should be run with sudo
. If you will switch Xcode without this action, you will face with the same issue.
On Hosted Runners, we have passwordless sudo. (Link 1), (Link 2).
Probably, you can disable password for sudo on your self-hosted agent. I have seen a lot of self-hosted agents with disabled sudo but you should take security concern into account (how this agent is used, who has an access to it and etc)
Got it, thanks for the answer.
When running in a self-hosted runner it asks for the password of the current user. Any ideas on how to work around it?