Closed aelam closed 2 years ago
hi @aelam
For sure - just don't set those environment variables XCODES_USERNAME
/XCODES_PASSWORD
and it'll look for them in the keychain
You'll see here it looks for the environment variable first, then goes to the keychain.
https://github.com/RobotsAndPencils/xcodes/blob/main/Sources/XcodesKit/XcodeInstaller.swift#L433
It would be better if the readme can be updated
There seems to be two weird cases to me
BTW, if it runs on CI machine, it would be better to add some instrument about sudoer settings
Thank you!
I see the username and password are saved in keychain can xcodes just access them from keychain without XCODE_USER and XCODE_PASSWORD environment variables?