-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
65 lines (62 loc) · 2.29 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// swift-tools-version: 5.6
// WARNING:
// This file is automatically generated.
// Do not edit it by hand because the contents will be replaced.
import PackageDescription
import AppleProductTypes
let package = Package(
name: "PadOSDC",
defaultLocalization: "en",
platforms: [
.iOS("15.2")
],
products: [
.iOSApplication(
name: "PadOSDC",
targets: ["AppModule"],
bundleIdentifier: "hcrane.padosdc.japan.2022",
teamIdentifier: "R82WJ5W3TV",
displayVersion: "1.7",
bundleVersion: "10",
appIcon: .asset("AppIcon"),
accentColor: .presetColor(.blue),
supportedDeviceFamilies: [
.pad,
.phone
],
supportedInterfaceOrientations: [
.portrait,
.landscapeRight,
.landscapeLeft,
.portraitUpsideDown(.when(deviceFamilies: [.pad]))
],
appCategory: .reference,
additionalInfoPlistContentFilePath: "Resources/Plist/App.plist"
)
],
dependencies: [
.package(url: "https://github.com/crane-hiromu/CombineStorable.git", "1.1.0"..<"1.2.0"),
.package(url: "https://github.com/noppefoxwolf/SwiftUIWorkaround", "0.0.5"..<"1.0.0"),
.package(url: "https://github.com/Losiowaty/PlaygroundTester.git", "0.3.1"..<"1.0.0")
],
targets: [
.executableTarget(
name: "AppModule",
dependencies: [
.product(name: "CombineStorable", package: "combinestorable"),
.product(name: "SwiftUIWorkaround", package: "swiftuiworkaround"),
.product(name: "PlaygroundTester", package: "playgroundtester")
],
path: ".",
exclude: ["swiftgen.yml", "README.md", "Makefile", "Resources/Stencil"],
resources: [
.process("Resources")
],
swiftSettings: [
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.define("TESTING_ENABLED", .when(configuration: .debug))
]
)
]
)