File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ jobs:
446446 # ==========================================
447447 build-macos :
448448 name : Build macOS App
449- runs-on : macos-14
449+ runs-on : macos-15
450450 # Run if: manual with build_macos OR release with app-v* or v* (but not server-v*)
451451 if : |
452452 (github.event_name == 'workflow_dispatch' && inputs.build_macos) ||
@@ -465,6 +465,20 @@ jobs:
465465 dotnet --version
466466 dotnet --list-sdks
467467
468+ - name : ' 🔧 Select Xcode version'
469+ run : |
470+ # List available Xcode versions
471+ echo "Available Xcode versions:"
472+ ls -d /Applications/Xcode*.app 2>/dev/null || echo "No Xcode apps found"
473+
474+ # Use the latest stable Xcode
475+ sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer || \
476+ sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer || \
477+ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
478+
479+ echo "Selected Xcode:"
480+ xcodebuild -version
481+
468482 - name : ' 🍎 Install MAUI workload'
469483 run : |
470484 # Install MAUI workload for maccatalyst
@@ -473,10 +487,6 @@ jobs:
473487 # List installed workloads
474488 dotnet workload list
475489
476- # Show Xcode version
477- echo "Xcode version:"
478- xcodebuild -version
479-
480490 - name : ' 📦 Extract version'
481491 id : version
482492 run : |
You can’t perform that action at this time.
0 commit comments