Skip to content

Commit

Permalink
Update Swift Language version to 4.2 under build settings (SnapKit#551)
Browse files Browse the repository at this point in the history
* Update swift language version to 4.2 in build settings

* Update podspec
  • Loading branch information
ibrahimkteish authored and robertjpayne committed Oct 22, 2018
1 parent 6af44ff commit 460a6c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SnapKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Pod::Spec.new do |s|

s.source_files = 'Source/*.swift'

s.swift_version = '4.0'
s.swift_version = '4.2'
end
4 changes: 2 additions & 2 deletions SnapKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
Expand All @@ -553,7 +553,7 @@
PRODUCT_NAME = SnapKit;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
Expand Down

0 comments on commit 460a6c5

Please sign in to comment.