maxim-lobanov / setup-xcode

Set up your GitHub Actions workflow with a specific version of Xcode
MIT License
280 stars 28 forks source link

Unable to find latest Xcode version (13.3) #42

Closed victorBaro closed 2 years ago

victorBaro commented 2 years ago

Xcode 13.3 is already available in the App Store but we are unable to select it.

Screen Shot 2022-03-28 at 10 38 57

maxim-lobanov commented 2 years ago

Hello @victorBaro , I think you are using macos-latest or macos-11 image label. Based on official Actions documentation, Xcode 13.3 is not available on this image: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xcode so this task can't find it.

I think it is related to the fact that Apple has dropped support for macOS 11 in Xcode 13.3 and it requires macOS 12+. And based on Actions docs, Xcode 13.3 is available on macOS 12 image: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md#xcode But macOS 12 image is still in private preview, see related discussion: https://github.com/actions/virtual-environments/issues/3649

victorBaro commented 2 years ago

Thanks a lot for your quick response @maxim-lobanov You are totally right, Xcode 13.3 is only available on macOS 12. I am closing this ticket as this is a problem related to githu actions.