From 2cdf6ef5c2ec2a466749bd9dedb66e1242eeadba Mon Sep 17 00:00:00 2001 From: itok Date: Thu, 18 Apr 2019 10:04:53 +0900 Subject: [PATCH 1/2] update to Swift 5 --- EEZoomableImageView.xcodeproj/project.pbxproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/EEZoomableImageView.xcodeproj/project.pbxproj b/EEZoomableImageView.xcodeproj/project.pbxproj index 689b24d..911d757 100644 --- a/EEZoomableImageView.xcodeproj/project.pbxproj +++ b/EEZoomableImageView.xcodeproj/project.pbxproj @@ -260,6 +260,7 @@ SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -314,6 +315,7 @@ SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 5.0; VALIDATE_PRODUCT = YES; }; name = Release; @@ -332,7 +334,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = FUREM.EEZoomableImageView; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -351,7 +353,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = FUREM.EEZoomableImageView; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; From b6da57e87d02dd3728370f43e33c1e97c2121b07 Mon Sep 17 00:00:00 2001 From: itok Date: Thu, 18 Apr 2019 10:10:53 +0900 Subject: [PATCH 2/2] update to Swift 5 --- EEZoomableImageView.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EEZoomableImageView.podspec b/EEZoomableImageView.podspec index 59f5ee2..4f26b0d 100755 --- a/EEZoomableImageView.podspec +++ b/EEZoomableImageView.podspec @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.framework = "UIKit" - s.swift_version = "3.0" + s.swift_version = "5.0" s.requires_arc = true