Skip to content

Commit

Permalink
Deployment Target edit...
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHyun committed Jun 29, 2023
1 parent aa7da11 commit 5c72578
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public struct ProjectEnvironment {
targetName: "PyeonHaeng",
targetTestName: "PyeonHaengTests",
bundleID: "com.pyeonhaeng",
deploymentTarget: .iOS(targetVersion: "16.4", devices: .iphone),
deploymentTarget: .iOS(targetVersion: "16.0", devices: .iphone),
baseSetting: [:]
)
}
Expand Down
33 changes: 3 additions & 30 deletions Projects/DesignSystem/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let project = Project(
options: .options(automaticSchemesOptions: .disabled, disableBundleAccessors: true, disableSynthesizedResourceAccessors: true),
settings: .settings(
base: [
"IPHONEOS_DEPLOYMENT_TARGET": .string("16.4"),
"IPHONEOS_DEPLOYMENT_TARGET": .string("16.0"),
"BuildIndependentTargetsInParallel": .string("YES"),
],
configurations: [.debug(name: "Dev"), .debug(name: "ActionTest")]
Expand All @@ -22,7 +22,7 @@ let project = Project(
platform: .iOS,
product: .framework,
bundleId: "com.pyeonhaeng.designsystem",
deploymentTarget: .iOS(targetVersion: "16.4", devices: .iphone),
deploymentTarget: .iOS(targetVersion: "16.0", devices: .iphone),
sources: .sources,
resources: "Resources/**",
scripts: [.swiftFormat, .swiftLint]
Expand All @@ -32,36 +32,9 @@ let project = Project(
platform: .iOS,
product: .unitTests,
bundleId: "com.pyeonhaeng.designsystemTests",
deploymentTarget: .iOS(targetVersion: "16.4", devices: .iphone),
deploymentTarget: .iOS(targetVersion: "16.0", devices: .iphone),
sources: .unitTests,
scripts: [.swiftFormat, .swiftLint]
),
]
// schemes: [
// Scheme(
// name: "Dev",
// shared: true,
// buildAction: .buildAction(targets: ["\(ProjectEnvironment.default.targetName)"]),
// testAction: .targets(
// ["\(ProjectEnvironment.default.targetTestName)"],
// configuration: .configuration("Dev"),
// options: .options(coverage: true)
// ),
// runAction: .runAction(configuration: .configuration("Dev")),
// archiveAction: .archiveAction(configuration: .configuration("Dev")),
// profileAction: .profileAction(configuration: .configuration("Dev")),
// analyzeAction: .analyzeAction(configuration: .configuration("Dev"))
// ),
// Scheme(
// name: "GithubActionScheme",
// shared: true,
// buildAction: .buildAction(targets: ["\(ProjectEnvironment.default.targetName)"]),
// testAction: .targets(
// ["\(ProjectEnvironment.default.targetTestName)"],
// configuration: .configuration("ActionTest"),
// options: .options(coverage: true)
// ),
// runAction: .runAction(configuration: .configuration("ActionTest"))
// )
// ]
)
2 changes: 1 addition & 1 deletion Tuist/ProjectDescriptionHelpers/Project+Templates.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public extension Project {
options: Options = .options(disableBundleAccessors: true, disableSynthesizedResourceAccessors: true),
packages: [Package] = [],
settings: SettingsDictionary = [
"IPHONEOS_DEPLOYMENT_TARGET": .string("16.4"),
"IPHONEOS_DEPLOYMENT_TARGET": .string("16.0"),
"BuildIndependentTargetsInParallel": .string("YES"),
],
additionalFiles: [FileElement] = []
Expand Down
2 changes: 1 addition & 1 deletion Tuist/ProjectDescriptionHelpers/Target+Templates.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public extension Target {
/// - infoPlist: Feature Module의 infoPlist
/// - dependencies: Feature Module의 의존성
/// - testDependencies: Feature Module에 만들어지는 Tests에 대한 의존성, `additionalTargets`에 Tests 옵션이 들어갈 때만 유효합니다.
/// - deploymentTarget: 배포 타겟을 설정합니다. 기본값은 `16.4 - iphone`입니다.
/// - deploymentTarget: 배포 타겟을 설정합니다. 기본값은 `16.0 - iphone`입니다.
static func feature(
_ feature: Feature,
additionalTargets: Set<FeatureTarget> = [],
Expand Down

0 comments on commit 5c72578

Please sign in to comment.