From f557577da3c3ffca909977d84289f74c7b52588c Mon Sep 17 00:00:00 2001 From: Bas van Kuijck Date: Thu, 19 Sep 2019 15:40:30 +0200 Subject: [PATCH] Swift 5.1 PM --- .swift-version | 1 - BiometricAuthentication.podspec | 6 +++--- Package.swift | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+), 4 deletions(-) delete mode 100644 .swift-version create mode 100755 Package.swift diff --git a/.swift-version b/.swift-version deleted file mode 100644 index 819e07a..0000000 --- a/.swift-version +++ /dev/null @@ -1 +0,0 @@ -5.0 diff --git a/BiometricAuthentication.podspec b/BiometricAuthentication.podspec index 383dd42..20ba929 100644 --- a/BiometricAuthentication.podspec +++ b/BiometricAuthentication.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "BiometricAuthentication" -s.version = "3.0" +s.version = "3.1.1" s.summary = "Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication." @@ -15,13 +15,13 @@ s.screenshots = "https://raw.githubusercontent.com/rushisangani/BiometricAuthen s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Rushi Sangani" => "rushisangani@gmail.com" } -s.source = { :git => "https://github.com/rushisangani/BiometricAuthentication.git", :tag => s.version } +s.source = { :git => "https://github.com/rushisangani/BiometricAuthentication.git", :tag => "v#{s.version}" } s.ios.deployment_target = '8.0' s.source_files = "BiometricAuthentication/**/*.swift" s.requires_arc = true -s.pod_target_xcconfig = { "SWIFT_VERSION" => "5.0" } +s.swift_version = "5.0" end diff --git a/Package.swift b/Package.swift new file mode 100755 index 0000000..5e0e19d --- /dev/null +++ b/Package.swift @@ -0,0 +1,23 @@ +// swift-tools-version:5.1 +import PackageDescription + +let package = Package( + name: "BiometricAuthentication", + platforms: [ + .iOS(.v8), + ], + products: [ + .library(name: "BiometricAuthentication", targets: ["BiometricAuthentication"]) + ], + dependencies: [ + ], + targets: [ + .target( + name: "BiometricAuthentication", + dependencies: [ + ], + path: "BiometricAuthentication" + ) + ], + swiftLanguageVersions: [ .v5 ] +)