|
1
|
// swift-tools-version:5.3 |
|
2
|
// The swift-tools-version declares the minimum version of Swift required to build this package. |
|
3
|
|
|
4
|
import PackageDescription |
|
5
|
|
|
6
|
let package = Package( |
|
7
|
name: "tauri-plugin-ios-window", |
|
8
|
platforms: [ |
|
9
|
.macOS(.v10_13), |
|
10
|
.iOS(.v13), |
|
11
|
], |
|
12
|
products: [ |
|
13
|
// Products define the executables and libraries a package produces, and make them visible to other packages. |
|
14
|
.library( |
|
15
|
name: "tauri-plugin-ios-window", |
|
16
|
type: .static, |
|
17
|
targets: ["tauri-plugin-ios-window"]) |
|
18
|
], |
|
19
|
dependencies: [ |
|
20
|
.package(name: "Tauri", path: "../.tauri/tauri-api") |
|
21
|
], |
|
22
|
targets: [ |
|
23
|
// Targets are the basic building blocks of a package. A target can define a module or a test suite. |
|
24
|
// Targets can depend on other targets in this package, and on products in packages this package depends on. |
|
25
|
.target( |
|
26
|
name: "tauri-plugin-ios-window", |
|
27
|
dependencies: [ |
|
28
|
.byName(name: "Tauri") |
|
29
|
], |
|
30
|
path: "Sources") |
|
31
|
] |
|
32
|
) |