diff --git a/.swift-version b/.swift-version deleted file mode 100644 index 9f55b2c..0000000 --- a/.swift-version +++ /dev/null @@ -1 +0,0 @@ -3.0 diff --git a/Device.podspec b/Device.podspec index b49e699..94318c4 100644 --- a/Device.podspec +++ b/Device.podspec @@ -16,5 +16,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.source_files = "Source/*.swift" s.ios.source_files = "Source/iOS/*.swift" - s.osx.source_files = "Source/macOS/*.swift" + s.osx.source_files = "Source/macOS/*.swift" + + s.swift_version = '5.0' end diff --git a/Device.xcodeproj/project.pbxproj b/Device.xcodeproj/project.pbxproj index 9c651ef..4a985ab 100644 --- a/Device.xcodeproj/project.pbxproj +++ b/Device.xcodeproj/project.pbxproj @@ -597,6 +597,7 @@ PRODUCT_BUNDLE_IDENTIFIER = Ekhoo.Device; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -647,6 +648,7 @@ PRODUCT_BUNDLE_IDENTIFIER = Ekhoo.Device; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 5.0; VALIDATE_PRODUCT = YES; }; name = Release;