mas icon indicating copy to clipboard operation
mas copied to clipboard

🐛 [BUG] automate of Xcode install

Open dimag25 opened this issue 2 years ago • 2 comments

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:

  1. create mac mini vm instance in AWS
  2. 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?

dimag25 avatar Mar 06 '23 08:03 dimag25

having the same issue, need to be able to install xcode in a headless setup

shalins avatar Mar 07 '23 23:03 shalins

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.

Dante1349 avatar May 27 '23 10:05 Dante1349