Skip to content

Commit

Permalink
Fix swift version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekhoo committed Oct 18, 2019
1 parent 50be667 commit 40d2038
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

4 changes: 3 additions & 1 deletion Device.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source_files = "Source/*.swift"
s.ios.source_files = "Source/iOS/*.swift"
s.osx.source_files = "Source/macOS/*.swift"
s.osx.source_files = "Source/macOS/*.swift"

s.swift_version = '5.0'
end
2 changes: 2 additions & 0 deletions Device.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@
PRODUCT_BUNDLE_IDENTIFIER = Ekhoo.Device;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
Expand Down Expand Up @@ -647,6 +648,7 @@
PRODUCT_BUNDLE_IDENTIFIER = Ekhoo.Device;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 5.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand Down

0 comments on commit 40d2038

Please sign in to comment.