From 81c6875ddeeb3f24452ddef6e3e0a9a35a49dab3 Mon Sep 17 00:00:00 2001 From: snakagam Date: Wed, 22 Sep 2021 23:16:06 +0900 Subject: [PATCH] Support Swift5.5 --- ImageTransition.podspec | 6 ++-- ImageTransition.xcodeproj/project.pbxproj | 16 ++++++----- .../xcschemes/ImageTransition.xcscheme | 24 +++++++--------- .../xcshareddata/xcschemes/Sample.xcscheme | 28 ++++++++----------- README.md | 4 +-- 5 files changed, 36 insertions(+), 42 deletions(-) diff --git a/ImageTransition.podspec b/ImageTransition.podspec index 5154454..38a4ceb 100644 --- a/ImageTransition.podspec +++ b/ImageTransition.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |spec| spec.name = "ImageTransition" - spec.version = "0.4.0" + spec.version = "0.5.0" spec.summary = "ImageTransition is a library for smooth animation of images during transitions." spec.homepage = "https://github.com/shtnkgm/ImageTransition" spec.license = { :type => "MIT", :file => "LICENSE" } spec.author = "shtnkgm" - spec.platform = :ios, "9.0" - spec.swift_version = "5.0" + spec.platform = :ios, "12.0" + spec.swift_version = "5.5" spec.source = { :git => "https://github.com/shtnkgm/ImageTransition.git", :tag => "#{spec.version}" } spec.source_files = "ImageTransition/**/*.swift" end diff --git a/ImageTransition.xcodeproj/project.pbxproj b/ImageTransition.xcodeproj/project.pbxproj index 62fd91e..d21b079 100644 --- a/ImageTransition.xcodeproj/project.pbxproj +++ b/ImageTransition.xcodeproj/project.pbxproj @@ -258,7 +258,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1000; - LastUpgradeCheck = 1000; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = "Shota Nakagami"; TargetAttributes = { DA5486E421525AEB00E0899D = { @@ -434,6 +434,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; @@ -460,14 +461,14 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = ""; + SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -499,6 +500,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; @@ -519,13 +521,13 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = ""; + SWIFT_VERSION = 5.0; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -545,7 +547,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = ImageTransition/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -573,7 +575,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = ImageTransition/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ImageTransition.xcodeproj/xcshareddata/xcschemes/ImageTransition.xcscheme b/ImageTransition.xcodeproj/xcshareddata/xcschemes/ImageTransition.xcscheme index 6707e3b..4e473ca 100644 --- a/ImageTransition.xcodeproj/xcshareddata/xcschemes/ImageTransition.xcscheme +++ b/ImageTransition.xcodeproj/xcshareddata/xcschemes/ImageTransition.xcscheme @@ -1,6 +1,6 @@ + + + + @@ -39,17 +48,6 @@ - - - - - - - - + onlyGenerateCoverageForSpecifiedTargets = "YES"> + + + + - - - - - - - -