Skip to content

Commit 87cff0f

Browse files
Merge pull request #23 from damarte/master
Swift 5 compatibility.
2 parents a23ade1 + 81e57ca commit 87cff0f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SSSpinnerButton.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pod::Spec.new do |s|
2929
#s.source = { :path => ".", :tag => "#{s.version}" }
3030

3131
s.source_files = 'SSSpinnerButton/SSSpinnerButton/**/*.swift'
32-
#s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
32+
# s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
3333
s.documentation_url = 'docs/index.html'
3434

3535

SSSpinnerButton.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
SDKROOT = iphoneos;
339339
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
340340
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
341-
SWIFT_VERSION = 4.2;
341+
SWIFT_VERSION = 5.0;
342342
};
343343
name = Debug;
344344
};
@@ -390,7 +390,7 @@
390390
MTL_ENABLE_DEBUG_INFO = NO;
391391
SDKROOT = iphoneos;
392392
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
393-
SWIFT_VERSION = 4.2;
393+
SWIFT_VERSION = 5.0;
394394
VALIDATE_PRODUCT = YES;
395395
};
396396
name = Release;
@@ -483,7 +483,7 @@
483483
SDKROOT = iphoneos;
484484
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
485485
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
486-
SWIFT_VERSION = 4.2;
486+
SWIFT_VERSION = 5.0;
487487
};
488488
name = Analyze;
489489
};

0 commit comments

Comments
 (0)