Browse Source

Update Swift Language version to 4.2 under build settings (#551)

* Update swift language version to 4.2 in build settings

* Update podspec
Ibrahim Koteish 7 years ago
parent
commit
460a6c524f
2 changed files with 3 additions and 3 deletions
  1. 1 1
      SnapKit.podspec
  2. 2 2
      SnapKit.xcodeproj/project.pbxproj

+ 1 - 1
SnapKit.podspec

@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
 
 
   s.source_files = 'Source/*.swift'
   s.source_files = 'Source/*.swift'
 
 
-  s.swift_version = '4.0'
+  s.swift_version = '4.2'
 end
 end

+ 2 - 2
SnapKit.xcodeproj/project.pbxproj

@@ -533,7 +533,7 @@
 				SKIP_INSTALL = YES;
 				SKIP_INSTALL = YES;
 				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
 				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
 				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
 				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 4.0;
+				SWIFT_VERSION = 4.2;
 				VERSIONING_SYSTEM = "apple-generic";
 				VERSIONING_SYSTEM = "apple-generic";
 			};
 			};
 			name = Debug;
 			name = Debug;
@@ -553,7 +553,7 @@
 				PRODUCT_NAME = SnapKit;
 				PRODUCT_NAME = SnapKit;
 				SKIP_INSTALL = YES;
 				SKIP_INSTALL = YES;
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 4.0;
+				SWIFT_VERSION = 4.2;
 				VERSIONING_SYSTEM = "apple-generic";
 				VERSIONING_SYSTEM = "apple-generic";
 			};
 			};
 			name = Release;
 			name = Release;