-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
58 lines (53 loc) · 1.72 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
// swift-tools-version: 6.0
// WARNING:
// This file is automatically generated.
// Do not edit it by hand because the contents will be replaced.
import PackageDescription
let package = Package(
name: "ConsolePad.swiftpm",
defaultLocalization: "en",
platforms: [
.iOS("18.1")
],
products: [],
dependencies: [],
targets: [
.executableTarget(
name: "ConsolePad",
swiftSettings: [
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-enable-actor-data-race-checks"]),
// Swift 7
.enableUpcomingFeature("ExistentialAny"),
]
)
]
)
#if canImport(AppleProductTypes)
import AppleProductTypes
package.products += [
.iOSApplication(
name: "Console Pad",
targets: ["ConsolePad"],
bundleIdentifier: "xyz.kebo.ConsolePad",
teamIdentifier: "X4678G5DL2",
displayVersion: "1.0",
bundleVersion: "25",
appIcon: .asset("AppIcon"),
accentColor: .presetColor(.orange),
supportedDeviceFamilies: [
.pad,
.phone,
],
supportedInterfaceOrientations: [
.portrait,
.landscapeRight,
.landscapeLeft,
.portraitUpsideDown(.when(deviceFamilies: [.pad])),
],
appCategory: .developerTools,
additionalInfoPlistContentFilePath: "Info.plist"
)
]
#endif