-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject.swift
57 lines (53 loc) · 1.66 KB
/
Project.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
import ProjectDescription
let releasedDependencies: [TargetDependency] = [
.external(name: "LightMeter"),
]
let devDependencies: [TargetDependency] = [
.project(target: "LightMeter", path: "../LightMeter"),
]
let targets: [Target] = [
Target(
name: "Obscura",
platform: .iOS,
product: .framework,
bundleId: "com.seunghun.obscura",
deploymentTarget: .iOS(targetVersion: "16.0", devices: [.iphone]),
sources: ["Obscura/Sources/**"],
dependencies: devDependencies,
settings: .settings(
base: ["SWIFT_STRICT_CONCURRENCY": "complete"]
)
),
Target(
name: "ObscuraDemo",
platform: .iOS,
product: .app,
bundleId: "com.seunghun.obscura.demo",
deploymentTarget: .iOS(targetVersion: "16.0", devices: [.iphone]),
infoPlist: .extendingDefault(
with: [
"UILaunchStoryboardName": "LaunchScreen",
"NSCameraUsageDescription": "Camera permission is needed for ObscuraDemo",
"NSMicrophoneUsageDescription": "Mic permission is needed for ObscuraDemo",
]
),
sources: ["ObscuraDemo/Sources/**"],
resources: ["ObscuraDemo/Resources/**"],
dependencies: [
.target(name: "Obscura")
],
settings: .settings(
base: [
"DEVELOPMENT_TEAM": "5HZQ3M82FA",
"SWIFT_STRICT_CONCURRENCY": "complete"
],
configurations: [],
defaultSettings: .recommended
)
)
]
let project = Project(
name: "Obscura",
organizationName: "seunghun",
targets: targets
)