diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode/tasks/main.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode/tasks/main.yml index 332500fbe2..0030c4454e 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode/tasks/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode/tasks/main.yml @@ -82,3 +82,6 @@ XCODE_INSTALL_PASSWORD: "{{ Apple_ID_Password }}" FASTLANE_SESSION: "{{ FASTLANE_SESSION }}" FASTLANE_DONT_STORE_PASSWORD: 1 + +- name: Set Xcode switch path to "/Applications/Xcode.app" + shell: sudo xcode-select --switch "/Applications/Xcode.app"