From 71f747aec15570c5709cecbb18d7606e24d0818f Mon Sep 17 00:00:00 2001 From: Vera Tkachenko Date: Fri, 7 Jun 2013 19:58:01 +0300 Subject: [PATCH] Add configuration for 64bit only. --- Configurations/ConfigCommon.xcconfig | 1 - .../ConfigCommonProject64bit.xcconfig | 4 ++ ...onfigCommonProjectUniversalBinary.xcconfig | 4 ++ Sparkle.xcodeproj/project.pbxproj | 71 +++++++++++++++++++ .../xcshareddata/xcschemes/Sparkle.xcscheme | 2 +- 5 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 Configurations/ConfigCommonProject64bit.xcconfig create mode 100644 Configurations/ConfigCommonProjectUniversalBinary.xcconfig diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index a1c0b540..e38b621b 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -15,7 +15,6 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES GCC_PREFIX_HEADER = $(SDKROOT)/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h GCC_FAST_OBJC_DISPATCH = YES GCC_ENABLE_PASCAL_STRINGS = NO -ARCHS = ppc i386 x86_64 GCC_VERSION = com.apple.compilers.llvm.clang.1_0 CLANG_LINK_OBJC_RUNTIME = NO diff --git a/Configurations/ConfigCommonProject64bit.xcconfig b/Configurations/ConfigCommonProject64bit.xcconfig new file mode 100644 index 00000000..57b386ea --- /dev/null +++ b/Configurations/ConfigCommonProject64bit.xcconfig @@ -0,0 +1,4 @@ +// Common + +ARCHS = x86_64 +VALID_ARCHS = x86_64 \ No newline at end of file diff --git a/Configurations/ConfigCommonProjectUniversalBinary.xcconfig b/Configurations/ConfigCommonProjectUniversalBinary.xcconfig new file mode 100644 index 00000000..64a03660 --- /dev/null +++ b/Configurations/ConfigCommonProjectUniversalBinary.xcconfig @@ -0,0 +1,4 @@ +// Common + +ARCHS = ppc i386 x86_64 + diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 8a5362f4..6d2a5841 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -187,6 +187,8 @@ 0263187514FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 0263187614FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 0263187714FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; + 02AC40CE1743CC23005207B1 /* ConfigCommonProject64bit.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigCommonProject64bit.xcconfig; sourceTree = ""; }; + 02AC40CF1743CC23005207B1 /* ConfigCommonProjectUniversalBinary.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigCommonProjectUniversalBinary.xcconfig; sourceTree = ""; }; 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionDisplayProtocol.h; sourceTree = ""; }; @@ -727,6 +729,8 @@ FA1941C40D94A6EA00DD942E /* Configurations */ = { isa = PBXGroup; children = ( + 02AC40CE1743CC23005207B1 /* ConfigCommonProject64bit.xcconfig */, + 02AC40CF1743CC23005207B1 /* ConfigCommonProjectUniversalBinary.xcconfig */, 5D06E8F10FD68D21005AE3F6 /* ConfigBinaryDelta.xcconfig */, 5D06E8F20FD68D21005AE3F6 /* ConfigBinaryDeltaDebug.xcconfig */, 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */, @@ -1361,6 +1365,64 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 02AC40C31743C7B5005207B1 /* Deployment */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 02AC40CE1743CC23005207B1 /* ConfigCommonProject64bit.xcconfig */; + buildSettings = { + }; + name = Deployment; + }; + 02AC40C41743C7B5005207B1 /* Deployment */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; + buildSettings = { + }; + name = Deployment; + }; + 02AC40C51743C7B5005207B1 /* Deployment */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */; + buildSettings = { + }; + name = Deployment; + }; + 02AC40C61743C7B5005207B1 /* Deployment */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */; + buildSettings = { + }; + name = Deployment; + }; + 02AC40C71743C7B5005207B1 /* Deployment */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */; + buildSettings = { + }; + name = Deployment; + }; + 02AC40C81743C7B5005207B1 /* Deployment */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = finish_installation.pch; + INFOPLIST_FILE = "finish_installation-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PRODUCT_NAME = finish_installation; + ZERO_LINK = NO; + }; + name = Deployment; + }; 1DEB91AE08733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; @@ -1379,12 +1441,14 @@ }; 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 02AC40CE1743CC23005207B1 /* ConfigCommonProject64bit.xcconfig */; buildSettings = { }; name = Debug; }; 1DEB91B308733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 02AC40CE1743CC23005207B1 /* ConfigCommonProject64bit.xcconfig */; buildSettings = { }; name = Release; @@ -1481,6 +1545,7 @@ }; 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 02AC40CF1743CC23005207B1 /* ConfigCommonProjectUniversalBinary.xcconfig */; buildSettings = { }; name = "Release (GC dual-mode; 10.5+)"; @@ -1549,6 +1614,7 @@ buildConfigurations = ( 1DEB91AE08733DA50010E9CD /* Debug */, 1DEB91AF08733DA50010E9CD /* Release */, + 02AC40C41743C7B5005207B1 /* Deployment */, 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1559,6 +1625,7 @@ buildConfigurations = ( 1DEB91B208733DA50010E9CD /* Debug */, 1DEB91B308733DA50010E9CD /* Release */, + 02AC40C31743C7B5005207B1 /* Deployment */, 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1569,6 +1636,7 @@ buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, 55C14BBC136EEF1500649790 /* Release */, + 02AC40C81743C7B5005207B1 /* Deployment */, 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1579,6 +1647,7 @@ buildConfigurations = ( 5D06E8D20FD68C7D005AE3F6 /* Debug */, 5D06E8D30FD68C7D005AE3F6 /* Release */, + 02AC40C71743C7B5005207B1 /* Deployment */, 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1589,6 +1658,7 @@ buildConfigurations = ( 612279DB0DB5470300AB99EA /* Debug */, 612279DC0DB5470300AB99EA /* Release */, + 02AC40C61743C7B5005207B1 /* Deployment */, 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1599,6 +1669,7 @@ buildConfigurations = ( 61B5F90609C4CEE300B25A18 /* Debug */, 61B5F90709C4CEE300B25A18 /* Release */, + 02AC40C51743C7B5005207B1 /* Deployment */, 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index 9b8b9ad7..68039d71 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -110,7 +110,7 @@ buildConfiguration = "Debug">