[vlc-commits] [Git][videolan/vlc][master] 2 commits: package/macosx: show the XCode version used to build

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Apr 15 10:26:16 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
545cd8ee by Steve Lhomme at 2026-04-15T09:38:11+00:00
package/macosx: show the XCode version used to build

It may not show in the SDKROOT path.

- - - - -
08fdc9cf by Steve Lhomme at 2026-04-15T09:38:11+00:00
apple/build: show the XCode version used to build

- - - - -


2 changed files:

- extras/package/apple/build.sh
- extras/package/macosx/env.build.sh


Changes:

=====================================
extras/package/apple/build.sh
=====================================
@@ -74,6 +74,8 @@ VLC_APPLE_SDK_PATH=
 # SDK version
 # Set in the validate_sdk_name function
 VLC_APPLE_SDK_VERSION=
+# XCode version used to build
+VLC_APPLE_XCODE_VERSION=
 # Indicated if prebuilt contribs package
 # should be created
 VLC_MAKE_PREBUILT_CONTRIBS=0
@@ -295,6 +297,7 @@ validate_sdk_name()
 
     VLC_APPLE_SDK_PATH="$(xcrun --sdk "$1" --show-sdk-path)"
     VLC_APPLE_SDK_VERSION="$(xcrun --sdk "$1" --show-sdk-version)"
+    VLC_APPLE_XCODE_VERSION="$(xcodebuild -version)"
     if [ ! -d "$VLC_APPLE_SDK_PATH" ]; then
         abort_err "SDK at '$VLC_APPLE_SDK_PATH' does not exist"
     fi
@@ -597,6 +600,7 @@ echo "Build configuration"
 echo "  Platform:         $VLC_HOST_PLATFORM"
 echo "  Architecture:     $VLC_HOST_ARCH"
 echo "  SDK Version:      $VLC_APPLE_SDK_VERSION"
+echo "  Xcode Version:    $VLC_APPLE_XCODE_VERSION"
 echo "  Number of Cores:  $VLC_USE_NUMBER_OF_CORES"
 if [ "$VLC_USE_BITCODE" -gt 0 ]; then
 echo "  Bitcode:          enabled"


=====================================
extras/package/macosx/env.build.sh
=====================================
@@ -149,8 +149,9 @@ vlcSetContribEnvironment() {
         SDKROOT="$(xcrun --sdk macosx --show-sdk-path)" && export SDKROOT
     fi
     SDK_VERSION="$(xcrun --sdk $SDKROOT --show-sdk-version)"
+    XCODE_VERSION="$(xcodebuild -version)"
 
-    echo "Setting contrib environment with minimum macOS version $MINIMAL_OSX_VERSION and SDK $SDK_VERSION at $SDKROOT"
+    echo "Setting contrib environment with minimum macOS version $MINIMAL_OSX_VERSION and SDK $SDK_VERSION at $SDKROOT using $XCODE_VERSION"
 
     # Usually, VLCs contrib libraries do not support partial availability at runtime.
     # Forcing those errors has two reasons:



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/9c23a0dd643f144605a22d9c604daa7e144086ad...08fdc9cf6be7d0fe5a3393277c1ba2d09c688572

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/9c23a0dd643f144605a22d9c604daa7e144086ad...08fdc9cf6be7d0fe5a3393277c1ba2d09c688572
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list