From 9b1556afbf9084ad41c920f9f1a9e46686614474 Mon Sep 17 00:00:00 2001 From: Hua Duong Tran Date: Wed, 1 Nov 2017 13:23:20 +0100 Subject: [PATCH 1/2] updated project settings to Swift 4 --- TGPControls.xcodeproj/project.pbxproj | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/TGPControls.xcodeproj/project.pbxproj b/TGPControls.xcodeproj/project.pbxproj index 76d8525..8528ff5 100644 --- a/TGPControls.xcodeproj/project.pbxproj +++ b/TGPControls.xcodeproj/project.pbxproj @@ -104,7 +104,7 @@ TargetAttributes = { DC56BDFC1E46EA2000AAD0D9 = { CreatedOnToolsVersion = 8.2.1; - LastSwiftMigration = 0820; + LastSwiftMigration = 0900; ProvisioningStyle = Automatic; }; }; @@ -197,6 +197,8 @@ SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_SWIFT3_OBJC_INFERENCE = Off; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -242,6 +244,8 @@ MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_SWIFT3_OBJC_INFERENCE = Off; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; @@ -267,7 +271,8 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = Off; + SWIFT_VERSION = 4.0; }; name = Debug; }; @@ -288,7 +293,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.swiftarchitect.TGPControls; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = Off; + SWIFT_VERSION = 4.0; }; name = Release; }; From fdeb0b200b850ccfda01a222ab9eff6aaca22def Mon Sep 17 00:00:00 2001 From: Hua Duong Tran Date: Wed, 1 Nov 2017 13:24:04 +0100 Subject: [PATCH 2/2] bumped up version to 5.0.0, updated podspec --- TGPControls.podspec | 2 +- TGPControls/Info.plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TGPControls.podspec b/TGPControls.podspec index a82c16f..4fc3e9b 100644 --- a/TGPControls.podspec +++ b/TGPControls.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |spec| # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # spec.name = "TGPControls" - spec.version = "4.0.0" + spec.version = "5.0.0" spec.summary = "Custom animated iOS controls: Animated discrete slider, animated labels" spec.description = <<-DESC diff --git a/TGPControls/Info.plist b/TGPControls/Info.plist index d69dcdf..ca45105 100644 --- a/TGPControls/Info.plist +++ b/TGPControls/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.0.0 + 5.0.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass