Skip to content

Commit 8ca73ef

Browse files
committed
빌드 설정 개선 및 Tuist 4.180.0 업데이트
1 parent 8a6d4b6 commit 8ca73ef

9 files changed

Lines changed: 25 additions & 52 deletions

File tree

.mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[tools]
2-
tuist = "4.154.0"
2+
tuist = "4.180.0"

Plugins/DependencyPackagePlugin/ProjectDescriptionHelpers/DependencyPackage/Extension+TargetDependencySPM.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import ProjectDescription
99

1010
public extension TargetDependency.SPM {
1111
static let asyncMoya = TargetDependency.external(name: "AsyncMoya", condition: .none)
12-
static let logMarco = TargetDependency.external(name: "LogMarco", condition: .none)
12+
static let logMarco = TargetDependency.external(name: "LogMacro", condition: .none)
1313

1414
static let composableArchitecture = TargetDependency.external(name: "ComposableArchitecture", condition: .none)
1515
static let tcaFlow = TargetDependency.external(name: "TCAFlow", condition: .none)

Plugins/ProjectTemplatePlugin/ProjectDescriptionHelpers/Project+Templete/Project+Template.swift

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,7 @@ import ProjectDescription
99

1010
// MARK: - Suppress Warnings Setting
1111
private let suppressWarningsSettings: ProjectDescription.Settings = .settings(
12-
base: [
13-
// Swift 컴파일러 경고 억제
14-
"OTHER_SWIFT_FLAGS": SettingValue(stringLiteral: "$(inherited) -suppress-warnings -Xfrontend -warn-concurrency"),
15-
16-
// 링커 플래그 - "has no symbols" 경고 억제 (호환성 개선)
17-
"OTHER_LDFLAGS": SettingValue(stringLiteral: [
18-
"$(inherited)",
19-
"-w",
20-
"-Wl,-no_warn_unused_dylibs",
21-
"-dead_strip"
22-
].joined(separator: " ")),
23-
24-
// 링커 경고 설정
25-
"LD_NO_WARN_UNUSED_DYLIBS": SettingValue(stringLiteral: "YES"),
26-
"LD_WARN_UNUSED_DYLIBS": SettingValue(stringLiteral: "NO"),
27-
"LINKER_DISPLAYS_MANGLED_NAMES": SettingValue(stringLiteral: "NO"),
28-
29-
// 컴파일러 경고 설정
30-
"WARNING_CFLAGS": SettingValue(stringLiteral: "-w"),
31-
"GCC_WARN_INHIBIT_ALL_WARNINGS": SettingValue(stringLiteral: "YES"),
32-
"CLANG_WARN_EVERYTHING": SettingValue(stringLiteral: "NO"),
33-
"CLANG_WARN_EMPTY_BODY": SettingValue(stringLiteral: "NO"),
34-
35-
// Swift 6 관련 설정
36-
"SWIFT_STRICT_CONCURRENCY": SettingValue(stringLiteral: "minimal"),
37-
"SWIFT_UPCOMING_FEATURE_CONCISE_MAGIC_FILE": SettingValue(stringLiteral: "YES"),
38-
"SWIFT_SUPPRESS_WARNINGS": SettingValue(stringLiteral: "YES"),
39-
40-
// 빌드 최적화
41-
"DEAD_CODE_STRIPPING": SettingValue(stringLiteral: "YES"),
42-
"PRESERVE_DEAD_CODE_INITS_AND_TERMS": SettingValue(stringLiteral: "NO"),
43-
44-
// 아키텍처 관련
45-
"ONLY_ACTIVE_ARCH": SettingValue(stringLiteral: "NO"),
46-
47-
// 디버그 정보 최적화
48-
"DEBUG_INFORMATION_FORMAT": SettingValue(stringLiteral: "dwarf"),
49-
50-
// 모듈 관련 설정
51-
"DEFINES_MODULE": SettingValue(stringLiteral: "YES"),
52-
"CLANG_ENABLE_MODULES": SettingValue(stringLiteral: "YES")
53-
]
12+
base: ["OTHER_SWIFT_FLAGS": "$(inherited) -suppress-warnings"]
5413
)
5514

5615
public extension Project {
@@ -72,7 +31,6 @@ public extension Project {
7231
schemes: [ProjectDescription.Scheme] = [],
7332
hasTests: Bool = false
7433
) -> Project {
75-
7634
let appTarget: Target = .target(
7735
name: name,
7836
destinations: destinations,
@@ -183,7 +141,6 @@ public extension Project {
183141
schemes: [ProjectDescription.Scheme] = [],
184142
hasTests: Bool = false
185143
) -> Project {
186-
187144
let appTarget: Target = .target(
188145
name: name,
189146
destinations: destinations,

Projects/Data/API/Project.swift

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@ let project = Project.makeModule(
88
name: "API",
99
bundleId: .appBundleID(name: ".API"),
1010
product: .staticFramework,
11-
settings: .settings(),
11+
settings: .settings(
12+
base: [
13+
"SWIFT_ENABLE_EXPLICIT_MODULES": "NO"
14+
]
15+
),
1216
dependencies: [
13-
.SPM.asyncMoya
17+
.Network(implements: .ThirdPartys),
18+
.SPM.asyncMoya // 직접 의존성 추가
1419
],
1520
sources: ["Sources/**"],
16-
infoPlist: .moduleInfoPlist
21+
hasTests: false
1722
)

Projects/Domain/DomainInterface/Project.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ let project = Project.makeModule(
1313
dependencies: [
1414
.Data(implements: .Model),
1515
.SPM.weaveDI,
16+
.SPM.composableArchitecture,
1617
],
1718
sources: ["Sources/**"],
1819
hasTests: false

Projects/Domain/Entity/Sources/AppUpdate/AppUpdateInfo.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// Created by Wonji Suh on 3/9/26.
66
//
77

8+
9+
810
import Foundation
911

1012
public struct AppUpdateInfo: Codable, Equatable, Sendable {
@@ -51,4 +53,4 @@ public struct iTunesAppInfo: Codable, Sendable {
5153
self.releaseNotes = releaseNotes
5254
self.trackViewUrl = trackViewUrl
5355
}
54-
}
56+
}

Projects/Network/ThirdPartys/Sources/ThirdPartysExport.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
// Created by Wonji Suh on 11/4/24.
66
//
77

8-
//@_exported import AsyncMoya
8+
//@_exported import AsyncMoya

Tuist/Package.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,15 @@ let packageSettings = PackageSettings(
4040
"GoogleSignIn": .staticFramework,
4141
"GoogleSignInSwift": .staticFramework,
4242
"GTMSessionFetcher": .staticFramework
43-
]
43+
],
44+
baseSettings: .settings(
45+
configurations: [
46+
.debug(name: "Debug"),
47+
.debug(name: "Stage"),
48+
.release(name: "Release"),
49+
.release(name: "Prod")
50+
]
51+
)
4452
)
4553
#endif
4654
let package = Package(

make

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)