Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 4

Selecting an Xcode version?

Solved! Go to Solution.

According to the documentation, the macOS-latest image includes many versions of Xcode. But how do I select one? 

3 Replies
Highlighted
Pilot Lvl 1
Message 2 of 4

Re: Selecting an Xcode version?

xcode-select -switch
Highlighted
Solution
Copilot Lvl 2
Message 3 of 4

Re: Selecting an Xcode version?

As another way, you can use `DEVELOPER_DIR` env variable.

      env:
        DEVELOPER_DIR: /Applications/Xcode_9.4.1.app/Contents/Developer

 

Highlighted
Copilot Lvl 2
Message 4 of 4

Re: Selecting an Xcode version?

Thanks. I guess I expected some specific syntax for Xcode version, not to have to set the version manually.