Modern Apps git

xtool.git

Public
git clone https://git.maproj.org/xtool.git
main ▾

xtool.git / Examples / ExampleSupport / Package.swift

Package.swift31 lines · 664 BRaw
1// swift-tools-version: 6.4
2
3import PackageDescription
4
5let package = Package(
6 name: "ExampleSupport",
7 platforms: [
8 .iOS(.v17),
9 .macOS(.v14),
10 ],
11 products: [
12 .library(
13 name: "ExampleSupport",
14 targets: ["ExampleSupport"]
15 ),
16 .library(
17 name: "ExampleDynamicLibrary",
18 type: .dynamic,
19 targets: ["ExampleDynamicLibrary"]
20 ),
21 ],
22 targets: [
23 .target(name: "ExampleSupport"),
24 .target(
25 name: "ExampleDynamicLibrary",
26 resources: [
27 .process("response.txt"),
28 ]
29 ),
30 ]
31)