Make SyncDatabase and Secrets both compatible with Swift strict concurrency checking.
This commit is contained in:
parent
93ae6ee2bb
commit
dc6ebf7226
|
@ -1,4 +1,4 @@
|
|||
// swift-tools-version:5.3
|
||||
// swift-tools-version:5.9
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
|
@ -15,7 +15,10 @@ let package = Package(
|
|||
targets: [
|
||||
.target(
|
||||
name: "Secrets",
|
||||
dependencies: []
|
||||
)
|
||||
dependencies: [],
|
||||
swiftSettings: [
|
||||
.enableExperimentalFeature("StrictConcurrency")
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
|
|
|
@ -10,7 +10,7 @@ import Foundation
|
|||
|
||||
public struct CredentialsManager {
|
||||
|
||||
private static var keychainGroup: String? = {
|
||||
private static let keychainGroup: String? = {
|
||||
guard let appGroup = Bundle.main.object(forInfoDictionaryKey: "AppGroup") as? String else {
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// swift-tools-version:5.3
|
||||
// swift-tools-version:5.9
|
||||
import PackageDescription
|
||||
|
||||
var dependencies: [Package.Dependency] = [
|
||||
|
@ -25,14 +25,18 @@ let package = Package(
|
|||
type: .dynamic,
|
||||
targets: ["SyncDatabase"]),
|
||||
],
|
||||
dependencies: dependencies,
|
||||
targets: [
|
||||
.target(
|
||||
name: "SyncDatabase",
|
||||
dependencies: [
|
||||
dependencies: dependencies,
|
||||
targets: [
|
||||
.target(
|
||||
name: "SyncDatabase",
|
||||
dependencies: [
|
||||
"RSCore",
|
||||
"RSDatabase",
|
||||
"Articles",
|
||||
]),
|
||||
]
|
||||
],
|
||||
swiftSettings: [
|
||||
.enableExperimentalFeature("StrictConcurrency")
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue