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 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;