Skip to content

Commit

Permalink
Remove .swift-version and make all targets Swift 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kpavankotesh committed Sep 20, 2019
1 parent 7777109 commit 91a1072
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

1 change: 1 addition & 0 deletions KWGradientView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Create horizontal, vertical & diagonal gradients on your view using this UIView
s.source = { :git => 'https://github.com/keepworks/KWGradientView.git', :tag => s.version.to_s }

s.ios.deployment_target = '10.0'
s.swift_version = '5.0'
s.source_files = 'KWGradientView/Views/KWGradientView.swift'

end
6 changes: 4 additions & 2 deletions KWGradientView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down Expand Up @@ -362,6 +363,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
Expand Down Expand Up @@ -402,7 +404,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.keepworks.KWGradientViewUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 5.0;
TEST_TARGET_NAME = KWGradientView;
};
name = Debug;
Expand All @@ -416,7 +418,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.keepworks.KWGradientViewUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 5.0;
TEST_TARGET_NAME = KWGradientView;
};
name = Release;
Expand Down

0 comments on commit 91a1072

Please sign in to comment.