Skip to content

Commit 4decf1a

Browse files
committed
refactor: 앱 타깃 스킴 정리
1 parent 0a9478b commit 4decf1a

10 files changed

Lines changed: 166 additions & 602 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
env:
77
WORKSPACE: DevLog.xcworkspace
8-
SCHEME: DevLog
8+
SCHEME: DevLogApp
99
XCODE_VERSION: "26.3"
1010
MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }}
1111
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}

.github/workflows/testflight.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- develop
1919

2020
env:
21-
SCHEME: DevLog
21+
SCHEME: DevLogApp
2222
RUBY_VERSION: "3.2"
2323
XCODE_VERSION: latest
2424
APP_STORE_TEAM_ID: ${{ secrets.APP_STORE_TEAM_ID }}

Application/DevLogApp/DevLogApp.xcodeproj/project.pbxproj

Lines changed: 138 additions & 136 deletions
Large diffs are not rendered by default.

Application/DevLogApp/DevLogApp.xcodeproj/xcshareddata/xcschemes/DevLog.xcscheme

Lines changed: 0 additions & 79 deletions
This file was deleted.

Application/DevLogApp/DevLogApp.xcodeproj/xcshareddata/xcschemes/DevLogAppTests.xcscheme renamed to Application/DevLogApp/DevLogApp.xcodeproj/xcshareddata/xcschemes/DevLogApp.xcscheme

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
buildForAnalyzing = "YES">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "0EDF4BB78A091D2F550FEB0C"
18-
BuildableName = "DevLogAppTests.xctest"
19-
BlueprintName = "DevLogAppTests"
17+
BlueprintIdentifier = "B9946B184E6A28C345727743"
18+
BuildableName = "DevLog.app"
19+
BlueprintName = "DevLogApp"
2020
ReferencedContainer = "container:DevLogApp.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
@@ -51,31 +51,33 @@
5151
debugDocumentVersioning = "YES"
5252
debugServiceExtension = "internal"
5353
allowLocationSimulation = "YES">
54-
<MacroExpansion>
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
5556
<BuildableReference
5657
BuildableIdentifier = "primary"
57-
BlueprintIdentifier = "0EDF4BB78A091D2F550FEB0C"
58-
BuildableName = "DevLogAppTests.xctest"
59-
BlueprintName = "DevLogAppTests"
58+
BlueprintIdentifier = "B9946B184E6A28C345727743"
59+
BuildableName = "DevLog.app"
60+
BlueprintName = "DevLogApp"
6061
ReferencedContainer = "container:DevLogApp.xcodeproj">
6162
</BuildableReference>
62-
</MacroExpansion>
63+
</BuildableProductRunnable>
6364
</LaunchAction>
6465
<ProfileAction
6566
buildConfiguration = "Release"
6667
shouldUseLaunchSchemeArgsEnv = "YES"
6768
savedToolIdentifier = ""
6869
useCustomWorkingDirectory = "NO"
6970
debugDocumentVersioning = "YES">
70-
<MacroExpansion>
71+
<BuildableProductRunnable
72+
runnableDebuggingMode = "0">
7173
<BuildableReference
7274
BuildableIdentifier = "primary"
73-
BlueprintIdentifier = "0EDF4BB78A091D2F550FEB0C"
74-
BuildableName = "DevLogAppTests.xctest"
75-
BlueprintName = "DevLogAppTests"
75+
BlueprintIdentifier = "B9946B184E6A28C345727743"
76+
BuildableName = "DevLog.app"
77+
BlueprintName = "DevLogApp"
7678
ReferencedContainer = "container:DevLogApp.xcodeproj">
7779
</BuildableReference>
78-
</MacroExpansion>
80+
</BuildableProductRunnable>
7981
</ProfileAction>
8082
<AnalyzeAction
8183
buildConfiguration = "Debug">

Application/DevLogApp/Project.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ let project = Project(
1111
settings: .devlogProject(versionXcconfigPath: "../Shared/Version.xcconfig"),
1212
targets: [
1313
.target(
14-
name: "DevLog",
14+
name: "DevLogApp",
1515
destinations: .iOS,
1616
product: .app,
17+
productName: "DevLog",
1718
bundleId: "opfic.DevLog",
1819
deploymentTargets: .iOS("17.0"),
1920
infoPlist: .file(path: "Sources/Resource/Info.plist"),
@@ -41,6 +42,7 @@ let project = Project(
4142
"ASSETCATALOG_COMPILER_APPICON_NAME": "AppIcon",
4243
"CODE_SIGN_STYLE": "Automatic",
4344
"IPHONEOS_DEPLOYMENT_TARGET": "17.0",
45+
"PRODUCT_MODULE_NAME": "DevLogApp",
4446
]
4547
)
4648
),
@@ -52,15 +54,15 @@ let project = Project(
5254
infoPlist: .default,
5355
sources: ["Tests/**/*.swift"],
5456
dependencies: [
55-
.target(name: "DevLog"),
57+
.target(name: "DevLogApp"),
5658
],
5759
settings: .devlog(
5860
base: [
5961
"BUNDLE_LOADER": "$(TEST_HOST)",
6062
"CODE_SIGN_STYLE": "Automatic",
6163
"IPHONEOS_DEPLOYMENT_TARGET": "17.0",
6264
"TEST_HOST": "$(BUILT_PRODUCTS_DIR)/DevLog.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/DevLog",
63-
"TEST_TARGET_NAME": "DevLog",
65+
"TEST_TARGET_NAME": "DevLogApp",
6466
]
6567
)
6668
),

Application/DevLogApp/Tests/App/WidgetSessionSyncHandlerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Combine
99
import Foundation
1010
import Testing
1111
import DevLogData
12-
@testable import DevLog
12+
@testable import DevLogApp
1313

1414
struct WidgetSessionSyncHandlerTests {
1515
@Test("로그인 세션 true 첫 진입에서만 위젯 초기 동기화를 요청한다")

0 commit comments

Comments
 (0)