Skip to content

Commit d2d4b81

Browse files
committed
refactor: 위젯 접근자 생성 정리
1 parent 90a3404 commit d2d4b81

2 files changed

Lines changed: 2 additions & 54 deletions

File tree

Widget/DevLogWidgetExtension/DevLogWidgetExtension.xcodeproj/project.pbxproj

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@
216216
isa = PBXNativeTarget;
217217
buildConfigurationList = 946E336F4DA3C764C4BB78B8 /* Build configuration list for PBXNativeTarget "DevLogWidgetExtension" */;
218218
buildPhases = (
219-
76E9AA9432A2E71A5FCBEDF0 /* Generate Widget Accessors */,
220219
ECDE64D61EC995391A3390C9 /* Sources */,
221220
F851AE38CC6DC956738736DA /* Resources */,
222221
8A6B2FC04294EE93066976F5 /* Frameworks */,
@@ -274,30 +273,6 @@
274273
};
275274
/* End PBXResourcesBuildPhase section */
276275

277-
/* Begin PBXShellScriptBuildPhase section */
278-
76E9AA9432A2E71A5FCBEDF0 /* Generate Widget Accessors */ = {
279-
isa = PBXShellScriptBuildPhase;
280-
alwaysOutOfDate = 1;
281-
buildActionMask = 2147483647;
282-
files = (
283-
);
284-
inputFileListPaths = (
285-
);
286-
inputPaths = (
287-
);
288-
name = "Generate Widget Accessors";
289-
outputFileListPaths = (
290-
);
291-
outputPaths = (
292-
"Derived/Sources/TuistAssets+DevLogWidgetExtension.swift",
293-
"Derived/Sources/TuistBundle+DevLogWidgetExtension.swift",
294-
);
295-
runOnlyForDeploymentPostprocessing = 0;
296-
shellPath = /bin/sh;
297-
shellScript = "mkdir -p \"$SRCROOT/Derived/Sources\"\ncat <<'EOF' > \"$SRCROOT/Derived/Sources/TuistAssets+DevLogWidgetExtension.swift\"\n// swiftlint:disable:this file_name\n// Generated workaround for Tuist 4.194.4 widget extension source reference.\n\nimport Foundation\nEOF\ncat <<'EOF' > \"$SRCROOT/Derived/Sources/TuistBundle+DevLogWidgetExtension.swift\"\n// swiftlint:disable:this file_name\n// Generated workaround for Tuist 4.194.4 widget extension source reference.\n\nimport Foundation\nEOF";
298-
};
299-
/* End PBXShellScriptBuildPhase section */
300-
301276
/* Begin PBXSourcesBuildPhase section */
302277
ECDE64D61EC995391A3390C9 /* Sources */ = {
303278
isa = PBXSourcesBuildPhase;

Widget/DevLogWidgetExtension/Project.swift

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import ProjectDescriptionHelpers
44
let project = Project(
55
name: "DevLogWidgetExtension",
66
options: .options(
7-
disableBundleAccessors: true,
8-
disableSynthesizedResourceAccessors: true
7+
disableBundleAccessors: false,
8+
disableSynthesizedResourceAccessors: false
99
),
1010
settings: .devlogProject(versionXcconfigPath: "../../Application/Shared/Version.xcconfig"),
1111
targets: [
@@ -31,39 +31,12 @@ let project = Project(
3131
"Project.swift",
3232
]
3333
),
34-
.generated("Derived/Sources/TuistAssets+DevLogWidgetExtension.swift"),
35-
.generated("Derived/Sources/TuistBundle+DevLogWidgetExtension.swift"),
3634
],
3735
resources: [
3836
"Resource/Assets.xcassets",
3937
"Resource/Localizable.xcstrings",
4038
],
4139
entitlements: .file(path: "Resource/DevLogWidget.entitlements"),
42-
scripts: [
43-
.pre(
44-
script: """
45-
mkdir -p "$SRCROOT/Derived/Sources"
46-
cat <<'EOF' > "$SRCROOT/Derived/Sources/TuistAssets+DevLogWidgetExtension.swift"
47-
// swiftlint:disable:this file_name
48-
// Generated workaround for Tuist 4.194.4 widget extension source reference.
49-
50-
import Foundation
51-
EOF
52-
cat <<'EOF' > "$SRCROOT/Derived/Sources/TuistBundle+DevLogWidgetExtension.swift"
53-
// swiftlint:disable:this file_name
54-
// Generated workaround for Tuist 4.194.4 widget extension source reference.
55-
56-
import Foundation
57-
EOF
58-
""",
59-
name: "Generate Widget Accessors",
60-
outputPaths: [
61-
"Derived/Sources/TuistAssets+DevLogWidgetExtension.swift",
62-
"Derived/Sources/TuistBundle+DevLogWidgetExtension.swift",
63-
],
64-
basedOnDependencyAnalysis: false
65-
),
66-
],
6740
dependencies: [
6841
.project(target: "DevLogWidgetCore", path: "../DevLogWidgetCore"),
6942
],

0 commit comments

Comments
 (0)