-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
43 lines (41 loc) · 1.96 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
31
32
33
34
35
36
37
38
39
40
41
42
43
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ToneLibrary",
platforms: [
.iOS(.v14), .macOS(.v11)
],
products: [
.library(
name: "ToneLibrary",
targets: ["ToneListenWrapper"]),
],
dependencies: [
.package(url: "https://github.com/AudioKit/AudioKit.git", .upToNextMajor(from: "5.3.0")),
.package(url: "https://github.com/AudioKit/SoundpipeAudioKit.git", .upToNextMajor(from: "5.3.0")),
.package(url: "https://github.com/AudioKit/DunneAudioKit.git", .upToNextMajor(from: "5.3.0")),
.package(url: "https://github.com/AudioKit/STKAudioKit.git", .upToNextMajor(from: "5.3.0")),
// .package(url: "https://github.com/AudioKit/AudioKitUI.git", from: "5.2.3"),
.package(url: "https://github.com/zoul/generic-json-swift", from: "2.0.1"),
.package(url: "https://github.com/malcommac/SwiftLocation", from: "5.1.0"),
],
targets: [
.target(
name: "ToneListenWrapper",
dependencies: [
.product(name: "AudioKit", package: "AudioKit"),
.product(name: "SoundpipeAudioKit", package: "SoundpipeAudioKit"),
.product(name: "SwiftLocation", package: "SwiftLocation"),
// .product(name: "AudioKitUI", package: "AudioKitUI"),
.product(name: "DunneAudioKit", package: "DunneAudioKit"),
.product(name: "STKAudioKit", package: "STKAudioKit"),
.product(name: "GenericJSON", package: "generic-json-swift"),
"ToneListen"
],
path: "Sources/Wrapper",
publicHeadersPath: ""
),
.binaryTarget(name: "ToneListen", path: "./Sources/ToneListen.xcframework")
]
)