🐛 [BUG] automate of Xcode install
Your Environment
-
mas version: 1.8.6 - macOS version : 10.15 ( Catalina)
mas Install Method
-
brew install mas(homebrew-core)
Describe the Bug
my goal is create fully e2e automation with appium-mac-driver and to use this I must install xcode as prerequisite.
use case:
- create mac mini vm instance in AWS
- install xcode inside the mac vm
- flow runs from Jenkins
- macOS versions >= 10.15 (Catalina)
problems and errors: I got blockers when I tried to install Xcode in automation flow .
found this article how to install : https://www.moncefbelyamani.com/how-to-install-xcode-with-homebrew/
problem : before use mas cli command to install xcode I must to signin to apple id ,
but mas signin command disabled on macOS 10.13+ : https://github.com/mas-cli/mas/issues/164
anyone have any idea how can I workaround this blocker? how can I install xcode from mac os terminal?
having the same issue, need to be able to install xcode in a headless setup
i also try to do this with ansible and a remote mac and i don't get any response from the command, but it seems that it was downloading, but then suddenly got stuck. I don't get a response in the shell that it is downloading, even when im on the mac via ssh.