From bdd344ebc8eb94bced2e7330beaf0355820a32ef Mon Sep 17 00:00:00 2001 From: Jisu Kim Date: Sun, 15 Sep 2024 23:30:36 +0900 Subject: [PATCH] [Infra] Set tuist signing --- .github/workflows/unitTest.yml | 2 -- Projects/App/Project.swift | 35 +++++++++++++++++++++++++++------- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unitTest.yml b/.github/workflows/unitTest.yml index 1b1de7d..bb19d56 100644 --- a/.github/workflows/unitTest.yml +++ b/.github/workflows/unitTest.yml @@ -1,8 +1,6 @@ name: unitTest on: - push: - branches: [ "develop" ] pull_request: jobs: diff --git a/Projects/App/Project.swift b/Projects/App/Project.swift index b866422..7fa81e0 100644 --- a/Projects/App/Project.swift +++ b/Projects/App/Project.swift @@ -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 ) ] ), @@ -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 ) ] ), @@ -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" ] } }