From 57d966cfb9d40c36458dea5e52971f7c770440a2 Mon Sep 17 00:00:00 2001 From: Scott Berrevoets Date: Mon, 1 Apr 2019 23:37:39 -0700 Subject: [PATCH] Update to Swift 5 --- .swift-version | 2 +- CHANGELOG.md | 3 +++ README.md | 2 +- SDCAlertView.podspec | 2 +- SDCAlertView.xcodeproj/project.pbxproj | 7 +++++-- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.swift-version b/.swift-version index bf77d549..819e07a2 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -4.2 +5.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 162618cb..f51b2e2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +### 10.0 +This release brings Swift 5.0 compatibility. + ### 9.0.1 **Bug Fixes:** - Fixes incorrect margins for new iPhones diff --git a/README.md b/README.md index b7803112..f6604543 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ # Requirements - - Swift 4.2 + - Swift 5.0 - iOS 9 or higher # Installation diff --git a/SDCAlertView.podspec b/SDCAlertView.podspec index 4f5ef9d0..01a55504 100644 --- a/SDCAlertView.podspec +++ b/SDCAlertView.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SDCAlertView" - s.version = "9.0.1" + s.version = "10.0" s.summary = "The little alert that could" s.homepage = "https://github.com/sberrevoets/SDCAlertView" s.license = { :type => "MIT" } diff --git a/SDCAlertView.xcodeproj/project.pbxproj b/SDCAlertView.xcodeproj/project.pbxproj index e8b13841..d0bb2390 100644 --- a/SDCAlertView.xcodeproj/project.pbxproj +++ b/SDCAlertView.xcodeproj/project.pbxproj @@ -220,6 +220,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -302,7 +303,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -332,7 +333,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.ScottyDoesntCode.SDCAlertView; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -374,6 +375,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -405,6 +407,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; SDKROOT = iphoneos; + SWIFT_VERSION = 5.0; VALIDATE_PRODUCT = YES; }; name = Release;