Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔗 :: (#48) XCConfig 설정 #89

Merged
merged 29 commits into from
Dec 21, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
47d00ad
📝 :: gitignore 에 XCConfig 추가
HongSJae Dec 16, 2023
4e69aab
🧩 :: ConfigurationPlugin 추가
HongSJae Dec 16, 2023
dc222b2
🧩 :: App/Tests 추가
HongSJae Dec 16, 2023
f280164
🧩 :: Project Template 수정
HongSJae Dec 16, 2023
76e6bc0
🛠️ :: Presentation에 있는 Resource 모두 DesignSystem으로 이동
HongSJae Dec 16, 2023
c6a2b12
🧩 :: OnboardingImage
HongSJae Dec 16, 2023
1bb998d
🧩 :: JobisLottieView
HongSJae Dec 16, 2023
06b8146
🛠️ :: 복수명사로 변수명 수정
HongSJae Dec 16, 2023
ab2fbf3
🧩 :: Plugins 에 ConfigurationPlugin 추가
HongSJae Dec 16, 2023
e2e0eb4
🧩 :: OnboardingVC Designsystem 사용
HongSJae Dec 16, 2023
1b373eb
🧩 :: Presentation Resources 제거
HongSJae Dec 16, 2023
c93a89b
🧩 :: entitlements
HongSJae Dec 16, 2023
5abe577
🛠️ :: JwtPlugin init 넣어주기
HongSJae Dec 16, 2023
31c8cce
🛠️ :: staticLibarary
HongSJae Dec 16, 2023
7b43dc6
🧩 :: Info.plist 수정
HongSJae Dec 16, 2023
15b55f3
Revert "🧩 :: Info.plist 수정"
HongSJae Dec 17, 2023
7414d5f
🧩 :: Info.plist 환경 변수 설정
HongSJae Dec 17, 2023
d1055d5
🧩 :: Project Template
HongSJae Dec 17, 2023
a2ce4d2
🛠️ :: Lib Dependency baseSetting
HongSJae Dec 17, 2023
06f70f6
🧩 :: Sources/Resources Template
HongSJae Dec 17, 2023
b5a5707
🧩 :: DesignSystem Demo 추가
HongSJae Dec 17, 2023
21437b3
🧩 :: Presentation/AppNetwork/Flow/Domain/Data TargetTest 추가
HongSJae Dec 17, 2023
1170bed
🧩 :: CodeSign 추가
HongSJae Dec 17, 2023
39958c8
🧩 :: Product Project.swift 파일 수정
HongSJae Dec 17, 2023
f23acc2
🛠️ :: Path XCConfig 파일 return 지움
HongSJae Dec 17, 2023
b9de78c
🛠️ :: BASE_URL -> API_BASE_URL
HongSJae Dec 17, 2023
668134a
🧩 :: Graph update
HongSJae Dec 17, 2023
c296a82
♻️ :: CI Scripts 수정
HongSJae Dec 17, 2023
5033c78
Merge branch 'develop' into feature/(#48)-xcconfig_setting
HongSJae Dec 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🧩 :: ConfigurationPlugin 추가
HongSJae committed Dec 17, 2023
commit 4e69aab11eaad4af25b623bbc1b0d934e7513843
3 changes: 3 additions & 0 deletions Plugins/ConfigurationPlugin/Plugin.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ProjectDescription

let plugin = Plugin(name: "ConfigurationPlugin")
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import ProjectDescription

public extension ConfigurationName {
static var dev: ConfigurationName { configuration(ProjectDeployTarget.dev.rawValue) }
static var stage: ConfigurationName { configuration(ProjectDeployTarget.stage.rawValue) }
static var prod: ConfigurationName { configuration(ProjectDeployTarget.prod.rawValue) }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import ProjectDescription

public extension ProjectDescription.Path {
static func relativeToXCConfig(type: ProjectDeployTarget, name: String) -> Self {
return .relativeToRoot("XCConfig/\(name)/\(type.rawValue).xcconfig")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import Foundation
import ProjectDescription

public enum ProjectDeployTarget: String {
case dev = "DEV"
case stage = "STAGE"
case prod = "PROD"

public var configurationName: ConfigurationName {
ConfigurationName.configuration(self.rawValue)
}
}
3 changes: 0 additions & 3 deletions Plugins/EnviromentPlugin/Plugin.swift

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions Plugins/EnvironmentPlugin/Plugin.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ProjectDescription

let plugin = Plugin(name: "EnvironmentPlugin")
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import ProjectDescription

public struct ProjectEnvironment {
public let appName: String
public let targetName: String
public let targetTestName: String
public let organizationName: String
public let deploymentTarget: DeploymentTarget
public let platform: Platform
public let baseSetting: SettingsDictionary
}

public let env = ProjectEnvironment(
appName: "JOBIS-DSM-iOS-v2",
targetName: "JOBIS-DSM-iOS-v2",
targetTestName: "DSM-JOBISTests",
organizationName: "com.team.return",
deploymentTarget: .iOS(targetVersion: "15.0", devices: [.iphone, .ipad]),
platform: .iOS,
baseSetting: [:]
)