diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b79d9f3..fabb594 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,10 @@ jobs: run: sudo xcode-select -p - name: Determine Xcode version based on iOS version run: | - if [[ ${{ env.iOSVersion }} == '17.0' ]]; then + if [[ -z "${{ env.iOSVersion }}" ]]; then + echo "iOSVersion is not set. Using latest Xcode version." + neededXcode='Xcode_16.1' + elif [[ ${{ env.iOSVersion }} == '17.0' ]]; then neededXcode='Xcode_16.1' else neededXcode='Xcode_15.4'