diff --git a/Xcode/Collections.xcconfig b/Xcode/Collections.xcconfig index 9a892a6b..ff0af9bc 100644 --- a/Xcode/Collections.xcconfig +++ b/Xcode/Collections.xcconfig @@ -15,8 +15,32 @@ PRODUCT_BUNDLE_IDENTIFIER = org.swift.Collections SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator ARCHS = $(ARCHS_STANDARD) -DEFINES_MODULE = YES +MACOSX_DEPLOYMENT_TARGET = 12.0 +IPHONEOS_DEPLOYMENT_TARGET = 15.0 +WATCHOS_DEPLOYMENT_TARGET = 8.0 +TVOS_DEPLOYMENT_TARGET = 15.0 + +MARKETING_VERSION = 1.1 + +CURRENT_PROJECT_VERSION = 1 +VERSIONING_SYSTEM = apple-generic +VERSION_INFO_PREFIX = + +DYLIB_COMPATIBILITY_VERSION = $(CURRENT_PROJECT_VERSION) +DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION) + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks +SKIP_INSTALL = YES +DYLIB_INSTALL_NAME_BASE = @rpath +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/Frameworks ENABLE_TESTABILITY = NO +ENABLE_TESTABILITY[config=Debug] = YES +GENERATE_INFOPLIST_FILE = YES +CODE_SIGN_STYLE = Automatic +DEFINES_MODULE = YES +ENABLE_MODULE_VERIFIER = YES +MODULE_VERIFIER_SUPPORTED_LANGUAGES = objective-c objective-c++ +MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = gnu11 gnu++20 diff --git a/Xcode/Collections.xcodeproj/project.pbxproj b/Xcode/Collections.xcodeproj/project.pbxproj index ec50093b..ecde4df9 100644 --- a/Xcode/Collections.xcodeproj/project.pbxproj +++ b/Xcode/Collections.xcodeproj/project.pbxproj @@ -1797,9 +1797,9 @@ 7DEBDB9329CCE4A600ADC226 /* Xcode */ = { isa = PBXGroup; children = ( - 7DEBDB9729CCE4A600ADC226 /* CollectionsTests.xcconfig */, 7DEBDB9829CCE4A600ADC226 /* Shared.xcconfig */, 7DEBDB9929CCE4A600ADC226 /* Collections.xcconfig */, + 7DEBDB9729CCE4A600ADC226 /* CollectionsTests.xcconfig */, 7D5A64D229CCE8CC00CB2595 /* README.md */, ); name = Xcode; @@ -2350,9 +2350,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7DEBDB9829CCE4A600ADC226 /* Shared.xcconfig */; buildSettings = { - CURRENT_PROJECT_VERSION = 1; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; name = Debug; }; @@ -2360,9 +2357,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7DEBDB9829CCE4A600ADC226 /* Shared.xcconfig */; buildSettings = { - CURRENT_PROJECT_VERSION = 1; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; name = Release; }; @@ -2370,27 +2364,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7DEBDB9929CCE4A600ADC226 /* Collections.xcconfig */; buildSettings = { - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_MODULE_VERIFIER = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; - MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; }; name = Debug; }; @@ -2398,27 +2371,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7DEBDB9929CCE4A600ADC226 /* Collections.xcconfig */; buildSettings = { - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_MODULE_VERIFIER = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; - MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; }; name = Release; }; @@ -2426,8 +2378,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7DEBDB9729CCE4A600ADC226 /* CollectionsTests.xcconfig */; buildSettings = { - CURRENT_PROJECT_VERSION = 1; - MARKETING_VERSION = 1.0; }; name = Debug; }; @@ -2435,9 +2385,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7DEBDB9729CCE4A600ADC226 /* CollectionsTests.xcconfig */; buildSettings = { - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - MARKETING_VERSION = 1.0; }; name = Release; }; diff --git a/Xcode/CollectionsTests.xcconfig b/Xcode/CollectionsTests.xcconfig index 1317925c..c0fa92aa 100644 --- a/Xcode/CollectionsTests.xcconfig +++ b/Xcode/CollectionsTests.xcconfig @@ -15,6 +15,14 @@ PRODUCT_BUNDLE_IDENTIFIER = org.swift.CollectionsTests SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator ARCHS = $(ARCHS_STANDARD) +MACOSX_DEPLOYMENT_TARGET = 12.0 +IPHONEOS_DEPLOYMENT_TARGET = 15.0 +WATCHOS_DEPLOYMENT_TARGET = 8.0 +TVOS_DEPLOYMENT_TARGET = 15.0 + +CURRENT_PROJECT_VERSION = 1 +MARKETING_VERSION = 1.0 + GENERATE_INFOPLIST_FILE = YES CODE_SIGN_STYLE = Automatic diff --git a/Xcode/Shared.xcconfig b/Xcode/Shared.xcconfig index e54ee440..f3b041e0 100644 --- a/Xcode/Shared.xcconfig +++ b/Xcode/Shared.xcconfig @@ -15,7 +15,7 @@ SWIFT_VERSION = 5.5 ONLY_ACTIVE_ARCH[config=Debug] = YES SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) COLLECTIONS_SINGLE_MODULE -SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug] = $(inherited) COLLECTIONS_INTERNAL_CHECKS +SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug] = $(inherited) COLLECTIONS_INTERNAL_CHECKS DEBUG SWIFT_COMPILATION_MODE[config=Release] = wholemodule SWIFT_COMPILATION_MODE[config=Debug] = singlefile