-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.swift
More file actions
129 lines (127 loc) · 5.22 KB
/
Copy pathProject.swift
File metadata and controls
129 lines (127 loc) · 5.22 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
import ProjectDescription
// Shared build settings for modular frameworks.
// 정적 프레임워크는 codesign 불필요 → 자동 프로비저닝 시도가 78-타깃 그래프 계산에서
// 막히지 않도록 사이닝을 끈다. 마케팅/빌드 버전과 Swift 버전만 공유.
private let frameworkSettings: Settings = .settings(
base: [
"CODE_SIGNING_ALLOWED": "NO",
"CODE_SIGNING_REQUIRED": "NO",
"CURRENT_PROJECT_VERSION": "202209021",
"MARKETING_VERSION": "3.0.1",
"SWIFT_VERSION": "5.0",
]
)
let project = Project(
name: "FaceReader",
organizationName: "com.coby",
options: .options(
automaticSchemesOptions: .enabled(
targetSchemesGrouping: .singleScheme,
codeCoverageEnabled: false,
testingOptions: []
),
defaultKnownRegions: ["en", "ja", "ko", "Base"],
developmentRegion: "en",
disableBundleAccessors: true,
disableShowEnvironmentVarsInScriptPhases: true,
disableSynthesizedResourceAccessors: true
),
packages: [
.package(url: "https://github.com/pointfreeco/swift-composable-architecture", .upToNextMajor(from: Version(1, 25, 0))),
.package(url: "https://github.com/pointfreeco/swift-case-paths", .upToNextMajor(from: Version(1, 7, 0))),
.package(url: "https://github.com/pointfreeco/swift-dependencies", .upToNextMajor(from: Version(1, 12, 0))),
.package(path: "Packages/FaceReaderLocalization"),
],
settings: .settings(base: [
"IPHONEOS_DEPLOYMENT_TARGET": "26.0",
"SWIFT_VERSION": "5.0",
]),
targets: [
.target(
name: "FaceReaderCore",
destinations: .iOS,
product: .staticFramework,
bundleId: "com.coby.FaceReader.core",
deploymentTargets: .iOS("26.0"),
sources: [.glob("FaceReader/Core/**/*.swift")],
dependencies: [],
settings: frameworkSettings
),
.target(
name: "FaceReaderUI",
destinations: .iOS,
product: .staticFramework,
bundleId: "com.coby.FaceReader.ui",
deploymentTargets: .iOS("26.0"),
sources: [.glob("FaceReader/UI/**/*.swift")],
dependencies: [
.package(product: "FaceReaderLocalization"),
],
settings: frameworkSettings
),
.target(
name: "FaceReaderFeatures",
destinations: .iOS,
product: .staticFramework,
bundleId: "com.coby.FaceReader.features",
deploymentTargets: .iOS("26.0"),
sources: [.glob("FaceReader/Features/**/*.swift")],
dependencies: [
.target(name: "FaceReaderCore"),
.target(name: "FaceReaderUI"),
.package(product: "CasePaths"),
.package(product: "ComposableArchitecture"),
.package(product: "Dependencies"),
.package(product: "FaceReaderLocalization"),
],
settings: frameworkSettings
),
.target(
name: "FaceReader",
destinations: .iOS,
product: .app,
bundleId: "com.coby.FaceReader",
deploymentTargets: .iOS("26.0"),
infoPlist: .file(path: "FaceReader/Global/Support/Info.plist"),
sources: [.glob("FaceReader/App/**/*.swift")],
// Bundle fonts under Fonts/ and list them in `UIAppFonts` for `Font.app`.
resources: [
"FaceReader/Global/Resource/Assets.xcassets",
"FaceReader/Global/Resource/Base.lproj/LaunchScreen.storyboard",
"FaceReader/Global/Resource/Fonts/**/*.otf",
"FaceReader/Global/Resource/Fonts/**/*.ttf",
"FaceReader/Global/Resource/FallbackMonsters/**/*.json",
"FaceReader/Global/Support/PrivacyInfo.xcprivacy",
"FaceReader/Global/Support/**/*.strings",
],
dependencies: [
.target(name: "FaceReaderFeatures"),
.package(product: "CasePaths"),
.package(product: "ComposableArchitecture"),
.package(product: "Dependencies"),
.package(product: "FaceReaderLocalization"),
],
settings: .settings(
base: [
"ASSETCATALOG_COMPILER_APPICON_NAME": "AppIcon",
"ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME": "AccentColor",
"CODE_SIGN_STYLE": "Automatic",
"CURRENT_PROJECT_VERSION": "202209021",
"DEVELOPMENT_TEAM": "3Y8YH8GWMM",
"GENERATE_INFOPLIST_FILE": "YES",
"INFOPLIST_KEY_UILaunchStoryboardName": "LaunchScreen",
"MARKETING_VERSION": "3.0.1",
"SWIFT_EMIT_LOC_STRINGS": "YES",
"SWIFT_VERSION": "5.0",
"TARGETED_DEVICE_FAMILY": "1",
],
defaultSettings: .recommended(excluding: ["SWIFT_ACTIVE_COMPILATION_CONDITIONS"])
)
),
],
additionalFiles: [
"Project.swift",
"Tuist.swift",
],
resourceSynthesizers: []
)