Skip to content

Commit

Permalink
[Infra] Set tuist signing
Browse files Browse the repository at this point in the history
  • Loading branch information
jisu15-kim committed Sep 15, 2024
1 parent a29a4a3 commit bdd344e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/unitTest.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: unitTest

on:
push:
branches: [ "develop" ]
pull_request:

jobs:
Expand Down
35 changes: 28 additions & 7 deletions Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ let project: Project = .make(
configurations: [
.debug(
name: .debug,
settings: BuildSetting.App.dev
settings: BuildSetting.App.dev_debug
),
.release(
name: .release,
settings: BuildSetting.App.dev
settings: BuildSetting.App.dev_release
)
]
),
Expand All @@ -45,11 +45,11 @@ let project: Project = .make(
configurations: [
.debug(
name: .debug,
settings: BuildSetting.App.prod
settings: BuildSetting.App.prod_debug
),
.release(
name: .release,
settings: BuildSetting.App.prod
settings: BuildSetting.App.prod_release
)
]
),
Expand All @@ -69,11 +69,32 @@ enum BuildSetting {
"INFOPLIST_KEY_CFBundleDisplayName": config.appDisplayName
]
}
static let dev: SettingsDictionary = [
static let dev_debug: SettingsDictionary = [
"APP_ENV": "dev",
"DEVELOPMENT_TEAM": "846TMZL7WC",
"CODE_SIGN_STYLE": "Automatic",
]
static let prod: SettingsDictionary = [
"APP_ENV": "prod"

static let dev_release: SettingsDictionary = [
"APP_ENV": "dev",
"CODE_SIGN_STYLE": "Manual",
"DEVELOPMENT_TEAM": "846TMZL7WC",
"CODE_SIGN_IDENTITY": "iPhone Distribution",
"PROVISIONING_PROFILE_SPECIFIER": "3days-dev"
]

static let prod_debug: SettingsDictionary = [
"APP_ENV": "prod",
"DEVELOPMENT_TEAM": "846TMZL7WC",
"CODE_SIGN_STYLE": "Automatic"
]

static let prod_release: SettingsDictionary = [
"APP_ENV": "prod",
"CODE_SIGN_STYLE": "Manual",
"DEVELOPMENT_TEAM": "846TMZL7WC",
"CODE_SIGN_IDENTITY": "iPhone Distribution",
"PROVISIONING_PROFILE_SPECIFIER": "3days-prod"
]
}
}

0 comments on commit bdd344e

Please sign in to comment.