-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
38 lines (37 loc) · 1.1 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "JuceMixPlayerSwift",
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "JuceMixPlayerSwift",
targets: ["JuceMixPlayerSwift"])
],
targets: [
.target(
name: "JuceMixPlayerSwift",
dependencies: ["juce_mix_player_static"],
path: "dist",
sources: ["bridge.c"],
publicHeadersPath: "include",
linkerSettings: [
.linkedFramework("AVFoundation"),
.linkedFramework("AudioToolbox"),
.linkedFramework("CoreAudioKit"),
.linkedFramework("CoreAudio"),
.linkedFramework("Accelerate"),
.linkedFramework("CoreMIDI"),
.linkedFramework("Foundation"),
.linkedFramework("MobileCoreServices"),
.linkedLibrary("c++")
]
),
.binaryTarget(
name: "juce_mix_player_static",
path: "dist/juce_lib.xcframework"
)
]
)