Skip to content

Xcode 16.3 selected but use 16.0 #12205

Closed
@salvatoreboemia

Description

@salvatoreboemia

Description

Hi

I have an issue with GitHub Action

I'm using this runner

Image

And I have in the GitHub Action variable

  • ${{ vars.XCODEVERSION }} -> Xcode_16.3.app

i set xcode with fastlane in this way

run: |
        fastlane setup_xcode_version xcodeVersionGit:"$XCODE_VERSION"

my lane

  lane :setup_xcode_version do |options|
    xcodeVersion = options[:xcodeVersionGit]
    xcode_select("/Applications/#{xcodeVersion}")
  end

In the log I got

Image

But during run

Image

I really don't know why

I also added this print

echo "=============================="
        echo "XCODE USED IN RUNNER PRE FASTLANE:"
        echo "DEVELOPER_DIR=$DEVELOPER_DIR"
        xcode-select -p
        xcrun --find xcodebuild
        xcodebuild -version
        echo "=============================="

result

Image

Do you know why?

Thanks

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Image: macos-15-arm64
Version: 20250506.1412

Is it regression?

yes

Expected behavior

works as expected with xcode 16.3

Actual behavior

xcode 16.0

Repro steps

run action runner

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions