From ca2ba7a55d28c873ebd6cc9bf847700bae02c32a Mon Sep 17 00:00:00 2001 From: Denys Telezhkin Date: Mon, 7 Sep 2020 11:52:56 +0300 Subject: [PATCH] Bump iOS deployment target to 9.0, Xcode 12 recommended changes. --- Package.swift | 2 +- SwiftCSV.podspec | 2 +- SwiftCSV.xcodeproj/project.pbxproj | 8 +++++--- .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ .../xcschemes/SwiftCSV-iOS.xcscheme | 19 +++---------------- .../xcschemes/SwiftCSV-macOS.xcscheme | 19 +++---------------- .../xcschemes/SwiftCSV-tvOS.xcscheme | 19 +++---------------- .../xcschemes/SwiftCSV-watchOS.xcscheme | 10 +++------- 8 files changed, 27 insertions(+), 60 deletions(-) create mode 100644 SwiftCSV.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Package.swift b/Package.swift index 88395ff..d466db7 100644 --- a/Package.swift +++ b/Package.swift @@ -5,7 +5,7 @@ import PackageDescription let package = Package( name: "SwiftCSV", platforms: [ - .macOS("10.10"), .iOS("8.0"), .tvOS("9.2"), .watchOS("2.2") + .macOS("10.10"), .iOS("9.0"), .tvOS("9.2"), .watchOS("2.2") ], products: [ .library( diff --git a/SwiftCSV.podspec b/SwiftCSV.podspec index 25c89dc..d6fa91b 100644 --- a/SwiftCSV.podspec +++ b/SwiftCSV.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/swiftcsv/SwiftCSV.git", :tag => s.version } s.swift_versions = [ "5.0", "4.2" ] - s.ios.deployment_target = "8.0" + s.ios.deployment_target = "9.0" s.osx.deployment_target = "10.9" s.tvos.deployment_target = "9.2" s.watchos.deployment_target = "2.2" diff --git a/SwiftCSV.xcodeproj/project.pbxproj b/SwiftCSV.xcodeproj/project.pbxproj index 8222c91..349df72 100644 --- a/SwiftCSV.xcodeproj/project.pbxproj +++ b/SwiftCSV.xcodeproj/project.pbxproj @@ -421,7 +421,7 @@ attributes = { LastSwiftMigration = 0700; LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1200; ORGANIZATIONNAME = "Naoto Kaneko"; TargetAttributes = { 3D1E59B31945FFAC001CF760 = { @@ -690,6 +690,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -715,7 +716,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; METAL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -749,6 +750,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -767,7 +769,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; METAL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/SwiftCSV.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SwiftCSV.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/SwiftCSV.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-iOS.xcscheme b/SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-iOS.xcscheme index 19a0942..3e20b3f 100644 --- a/SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-iOS.xcscheme +++ b/SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-iOS.xcscheme @@ -1,6 +1,6 @@ + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> @@ -54,17 +54,6 @@ - - - - - - - - + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> @@ -40,17 +40,6 @@ - - - - - - - - + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> @@ -40,17 +40,6 @@ - - - - - - - - + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> - - - -