diff --git a/Configurations/CommandLineTool-Shared.xcconfig b/Configurations/CommandLineTool-Shared.xcconfig index 568f63c9..a4da18d0 100644 --- a/Configurations/CommandLineTool-Shared.xcconfig +++ b/Configurations/CommandLineTool-Shared.xcconfig @@ -4,3 +4,4 @@ SWIFT_OBJC_BRIDGING_HEADER = $(PRODUCT_NAME)/Bridging-Header.h GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) BUILDING_EXTERNALLY=1 +ARCHS = $(ARCHS_COMMAND_LINE_TOOLS) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index fefbb57d..2d18747d 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -48,8 +48,13 @@ OTHER_SWIFT_FLAGS_COMMON = -DSPARKLE_BUILD_LEGACY_DSA_SUPPORT -DGENERATE_APPCAST // Minimum supported macOS version MACOSX_DEPLOYMENT_TARGET = 10.13 -// Set to arm64e to also build Sparkle framework as arm64e (requires Xcode 26 or later) -EXTENDED_ARCHS = +// Archs to use for Sparkle +// You can change this for example to add arm64e or remove x86_64 +ARCHS = $(ARCHS_STANDARD) + +// Archs to use for command line tools (generate_appcast, sign_update, BinaryDelta, etc) +// arm64e is not supported for these yet +ARCHS_COMMAND_LINE_TOOLS = $(ARCHS_STANDARD) // Default Sparkle names SPARKLE_BUNDLE_IDENTIFIER = org.sparkle-project.Sparkle diff --git a/Configurations/ConfigFramework.xcconfig b/Configurations/ConfigFramework.xcconfig index 1917147a..32b4478a 100644 --- a/Configurations/ConfigFramework.xcconfig +++ b/Configurations/ConfigFramework.xcconfig @@ -13,8 +13,6 @@ WRAPPER_EXTENSION = framework // so as a better workaround we have changed the FRAMEWORK_VERSION from A to B FRAMEWORK_VERSION = B -ARCHS = $(ARCHS_STANDARD) $(EXTENDED_ARCHS) - INFOPLIST_FILE = Sparkle/Sparkle-Info.plist GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BUILDING_SPARKLE=1 SKIP_INSTALL = YES diff --git a/Configurations/bsdiff-Shared.xcconfig b/Configurations/bsdiff-Shared.xcconfig index 40367d7b..c57311be 100644 --- a/Configurations/bsdiff-Shared.xcconfig +++ b/Configurations/bsdiff-Shared.xcconfig @@ -12,3 +12,6 @@ ALWAYS_SEARCH_USER_PATHS = NO // Disable Warnings - this is a third-party project, and we'll trust that the maintainers know what they're doing. WARNING_CFLAGS = $(inherited) -Wno-comma + +// bsdiff is used by command line tools too +ARCHS = $(inherited) $(ARCHS_COMMAND_LINE_TOOLS) diff --git a/Configurations/ed25519-Shared.xcconfig b/Configurations/ed25519-Shared.xcconfig index 7366fea4..358d5ea7 100644 --- a/Configurations/ed25519-Shared.xcconfig +++ b/Configurations/ed25519-Shared.xcconfig @@ -16,4 +16,5 @@ WARNING_CFLAGS = $(inherited) -Wno-cast-qual -Wno-conversion -Wno-sign-conversio // Disable dead stores analyzer warning CLANG_ANALYZER_DEADCODE_DEADSTORES = NO -ARCHS = $(ARCHS_STANDARD) $(EXTENDED_ARCHS) +// ed25519 is used by command line tools too +ARCHS = $(inherited) $(ARCHS_COMMAND_LINE_TOOLS)