Skip to content

Commit 01767a8

Browse files
authored
Merge pull request #34 from basvankuijck/master
Swift Package Manager
2 parents a092db1 + f557577 commit 01767a8

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

.swift-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

BiometricAuthentication.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "BiometricAuthentication"
4-
s.version = "3.0"
4+
s.version = "3.1.1"
55

66
s.summary = "Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication."
77

@@ -15,13 +15,13 @@ s.screenshots = "https://raw.githubusercontent.com/rushisangani/BiometricAuthen
1515
s.license = { :type => "MIT", :file => "LICENSE" }
1616

1717
s.author = { "Rushi Sangani" => "[email protected]" }
18-
s.source = { :git => "https://github.com/rushisangani/BiometricAuthentication.git", :tag => s.version }
18+
s.source = { :git => "https://github.com/rushisangani/BiometricAuthentication.git", :tag => "v#{s.version}" }
1919

2020
s.ios.deployment_target = '8.0'
2121
s.source_files = "BiometricAuthentication/**/*.swift"
2222

2323
s.requires_arc = true
24-
s.pod_target_xcconfig = { "SWIFT_VERSION" => "5.0" }
24+
s.swift_version = "5.0"
2525

2626
end
2727

Package.swift

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// swift-tools-version:5.1
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "BiometricAuthentication",
6+
platforms: [
7+
.iOS(.v8),
8+
],
9+
products: [
10+
.library(name: "BiometricAuthentication", targets: ["BiometricAuthentication"])
11+
],
12+
dependencies: [
13+
],
14+
targets: [
15+
.target(
16+
name: "BiometricAuthentication",
17+
dependencies: [
18+
],
19+
path: "BiometricAuthentication"
20+
)
21+
],
22+
swiftLanguageVersions: [ .v5 ]
23+
)

0 commit comments

Comments
 (0)