diff --git a/SnapKit.podspec b/SnapKit.podspec index c4daf0f..da77d69 100644 --- a/SnapKit.podspec +++ b/SnapKit.podspec @@ -14,5 +14,5 @@ Pod::Spec.new do |s| s.source_files = 'Source/*.swift' - s.swift_version = '4.0' + s.swift_version = '4.2' end diff --git a/SnapKit.xcodeproj/project.pbxproj b/SnapKit.xcodeproj/project.pbxproj index ff6ea50..0bd8d9e 100644 --- a/SnapKit.xcodeproj/project.pbxproj +++ b/SnapKit.xcodeproj/project.pbxproj @@ -533,7 +533,7 @@ SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -553,7 +553,7 @@ PRODUCT_NAME = SnapKit; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; VERSIONING_SYSTEM = "apple-generic"; }; name = Release;