Update external dependencies and bump the iOS deployment target

This commit is contained in:
Daniel Saidi 2022-05-10 21:15:13 +02:00
parent df8fbaba07
commit 298c086262
5 changed files with 26 additions and 13 deletions

View File

@ -15,8 +15,8 @@
"repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"state": {
"branch": null,
"revision": "02b7a39a99c4da27abe03cab2053a9034379639f",
"version": "2.0.0"
"revision": "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688",
"version": "2.1.0"
}
},
{
@ -24,8 +24,8 @@
"repositoryURL": "https://github.com/danielsaidi/MockingKit.git",
"state": {
"branch": null,
"revision": "ebb888c98bd1de2f2409c7b06f2386a55120d910",
"version": "0.9.4"
"revision": "3e51adb1a3922cdccbe84a3088b7fa4d67ae236d",
"version": "1.1.0"
}
},
{
@ -33,8 +33,8 @@
"repositoryURL": "https://github.com/Quick/Nimble.git",
"state": {
"branch": null,
"revision": "af1730dde4e6c0d45bf01b99f8a41713ce536790",
"version": "9.2.0"
"revision": "1f3bde57bde12f5e7b07909848c071e9b73d6edc",
"version": "10.0.0"
}
},
{
@ -42,8 +42,17 @@
"repositoryURL": "https://github.com/Quick/Quick.git",
"state": {
"branch": null,
"revision": "8cce6acd38f965f5baa3167b939f86500314022b",
"version": "3.1.2"
"revision": "f9d519828bb03dfc8125467d8f7b93131951124c",
"version": "5.0.1"
}
},
{
"package": "SwiftDocCPlugin",
"repositoryURL": "https://github.com/apple/swift-docc-plugin",
"state": {
"branch": null,
"revision": "3303b164430d9a7055ba484c8ead67a52f7b74f6",
"version": "1.0.0"
}
}
]

View File

@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "SwiftKit",
platforms: [
.iOS(.v11),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6),
.macOS(.v10_13)
@ -16,9 +16,10 @@ let package = Package(
targets: ["SwiftKit"]),
],
dependencies: [
.package(url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "9.0.0")),
.package(url: "https://github.com/danielsaidi/MockingKit.git", .upToNextMajor(from: "0.9.0"))
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "5.0.0")),
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "10.0.0")),
.package(url: "https://github.com/danielsaidi/MockingKit.git", .upToNextMajor(from: "1.1.0"))
],
targets: [
.target(

View File

@ -3,6 +3,8 @@
## 1.2
This version bumps the iOS deployment target to 13.0 and adds new auth utils.
### ✨ New features
* `LAContext+Async` adds an async policy evaluation function.

View File

@ -6,6 +6,7 @@
// Copyright © 2016-2022 Daniel Saidi. All rights reserved.
//
#if os(iOS) || os(macOS)
import LocalAuthentication
@available(iOS 15.0, macOS 12.0, *)
@ -27,3 +28,4 @@ extension LAContext {
}
}
}
#endif

View File

@ -76,4 +76,3 @@ open class LocalAuthenticationService: AuthenticationService {
}
}
#endif