forked from Cidaas/cidaas-sdk-ios-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
30 lines (27 loc) · 1.21 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// swift-tools-version:5.7
import PackageDescription
let webAuthPlatforms: [Platform] = [.iOS]
let swiftSettings: [SwiftSetting] = [.define("WEB_AUTH_PLATFORM", .when(platforms: webAuthPlatforms))]
let package = Package(
name: "Cidaas",
platforms: [.iOS(.v11)],
products: [.library(name: "Cidaas", targets: ["Cidaas"])],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.8.1")),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.8.1")),
.package(url: "https://github.com/jrendel/SwiftKeychainWrapper", .upToNextMajor(from: "4.0.1")),
.package(url: "https://github.com/Flight-School/AnyCodable", from: "0.6.0")
],
targets: [
.target(
name: "Cidaas",
dependencies: [
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "CryptoSwift", package: "CryptoSwift"),
.product(name: "SwiftKeychainWrapper", package: "SwiftKeychainWrapper"),
.product(name: "AnyCodable", package: "AnyCodable")
],
path: "Cidaas/Classes",
swiftSettings: swiftSettings)
]
)