sparkle fails to build on 3.0 with Xcode 26 toolchain
It builds fine in the 4.0 tree. The rules.mak file is exactly the same between the 2 build trees.
On 3.0:
cd sparkle && xcodebuild MACOSX_DEPLOYMENT_TARGET=10.7 -sdk macosx WARNING_CFLAGS=-Werror=partial-availability OTHER_CFLAGS=-fno-stack-check -arch x86_64
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild MACOSX_DEPLOYMENT_TARGET=10.7 -sdk macosx WARNING_CFLAGS=-Werror=partial-availability OTHER_CFLAGS=-fno-stack-check -arch x86_64
Build settings from command line:
ARCHS = x86_64
MACOSX_DEPLOYMENT_TARGET = 10.7
OTHER_CFLAGS = -fno-stack-check
SDKROOT = macosx26.0
WARNING_CFLAGS = -Werror=partial-availability
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
note: Target dependency graph (3 targets)
Target 'Sparkle' in project 'Sparkle'
➜ Explicit dependency on target 'Autoupdate' in project 'Sparkle'
Target 'Autoupdate' in project 'Sparkle'
➜ Explicit dependency on target 'fileop' in project 'Sparkle'
Target 'fileop' in project 'Sparkle' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk /var/folders/q6/8p9gcrtn6p723m5t67b3k6300000gn/C/com.apple.DeveloperTools/26.0.1-17A400/Xcode/SDKStatCaches.noindex/macosx26.0-25A352-28806144b0707e398aac92880fa50324.sdkstatcache
cd /Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/Sparkle.xcodeproj
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -o /var/folders/q6/8p9gcrtn6p723m5t67b3k6300000gn/C/com.apple.DeveloperTools/26.0.1-17A400/Xcode/SDKStatCaches.noindex/macosx26.0-25A352-28806144b0707e398aac92880fa50324.sdkstatcache
/Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/Sparkle.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.13 to 26.0.99. (in target 'fileop' from project 'Sparkle')
Ld /Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/Release/fileop normal (in target 'fileop' from project 'Sparkle')
cd /Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target x86_64-apple-macos10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -Os -L/Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/EagerLinkingTBDs/Release -L/Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/Release -F/Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/EagerLinkingTBDs/Release -F/Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/Release -filelist /Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/Sparkle.build/Release/fileop.build/Objects-normal/x86_64/fileop.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/Sparkle.build/Release/fileop.build/Objects-normal/x86_64/fileop_lto.o -Xlinker -dependency_info -Xlinker /Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/Sparkle.build/Release/fileop.build/Objects-normal/x86_64/fileop_dependency_info.dat -fobjc-arc -fobjc-link-runtime -framework AppKit -framework Foundation -framework Security -Xlinker -no_adhoc_codesign -o /Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/build/Release/fileop
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a'; try increasing the minimum deployment target
warning: Run script build phase 'Run Script: Set Git Version Info' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Sparkle' from project 'Sparkle')
/Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/Sparkle.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.13 to 26.0.99. (in target 'Sparkle' from project 'Sparkle')
warning: Run script build phase 'Run Script: Set Git Version Info' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Autoupdate' from project 'Sparkle')
/Volumes/APFS/Programs/Videolabs/vlc-3/contrib/contrib-x86_64-apple-darwin18/sparkle/Sparkle.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.13 to 26.0.99. (in target 'Autoupdate' from project 'Sparkle')
** BUILD FAILED **
On 4.0:
cd sparkle && xcodebuild MACOSX_DEPLOYMENT_TARGET=10.11 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk WARNING_CFLAGS=-Werror=partial-availability OTHER_CFLAGS=-fno-stack-check -arch arm64
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild MACOSX_DEPLOYMENT_TARGET=10.11 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk WARNING_CFLAGS=-Werror=partial-availability OTHER_CFLAGS=-fno-stack-check -arch arm64
Build settings from command line:
ARCHS = arm64
MACOSX_DEPLOYMENT_TARGET = 10.11
OTHER_CFLAGS = -fno-stack-check
SDKROOT = macosx26.0
WARNING_CFLAGS = -Werror=partial-availability
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
note: Target dependency graph (3 targets)
Target 'Sparkle' in project 'Sparkle'
➜ Explicit dependency on target 'Autoupdate' in project 'Sparkle'
Target 'Autoupdate' in project 'Sparkle'
➜ Explicit dependency on target 'fileop' in project 'Sparkle'
Target 'fileop' in project 'Sparkle' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk /var/folders/q6/8p9gcrtn6p723m5t67b3k6300000gn/C/com.apple.DeveloperTools/26.0.1-17A400/Xcode/SDKStatCaches.noindex/macosx26.0-25A352-28806144b0707e398aac92880fa50324.sdkstatcache
cd /Volumes/APFS/Programs/Videolabs/vlc/build/contrib/contrib-aarch64-apple-darwin15/sparkle/Sparkle.xcodeproj
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -o /var/folders/q6/8p9gcrtn6p723m5t67b3k6300000gn/C/com.apple.DeveloperTools/26.0.1-17A400/Xcode/SDKStatCaches.noindex/macosx26.0-25A352-28806144b0707e398aac92880fa50324.sdkstatcache
warning: Run script build phase 'Run Script: Set Git Version Info' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Autoupdate' from project 'Sparkle')
/Volumes/APFS/Programs/Videolabs/vlc/build/contrib/contrib-aarch64-apple-darwin15/sparkle/Sparkle.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 26.0.99. (in target 'Autoupdate' from project 'Sparkle')
CopyStringsFile /Volumes/APFS/Programs/Videolabs/vlc/build/contrib/contrib-aarch64-apple-darwin15/sparkle/build/Release/Autoupdate.app/Contents/Resources/uk.lproj/Sparkle.strings /Volumes/APFS/Programs/Videolabs/vlc/build/contrib/contrib-aarch64-apple-darwin15/sparkle/Sparkle/uk.lproj/Sparkle.strings (in target 'Autoupdate' from project 'Sparkle')
cd /Volumes/APFS/Programs/Videolabs/vlc/build/contrib/contrib-aarch64-apple-darwin15/sparkle
builtin-copyStrings --validate --inputencoding utf-8 --outputencoding UTF-16 --outfilename Sparkle.strings --outdir /Volumes/APFS/Programs/Videolabs/vlc/build/contrib/contrib-aarch64-apple-darwin15/sparkle/build/Release/Autoupdate.app/Contents/Resources/uk.lproj -- /Volumes/APFS/Programs/Videolabs/vlc/build/contrib/contrib-aarch64-apple-darwin15/sparkle/Sparkle/uk.lproj/Sparkle.strings
...