@@ -9,48 +9,7 @@ import ProjectDescription
99
1010// MARK: - Suppress Warnings Setting
1111private 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
5615public 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,
0 commit comments