Skip to content

Commit 2a641fb

Browse files
Added support for DEVELOPMENT_TEAM environment variable (#562)
Add `export TUIST_DEVELOPMENT_TEAM=ABCDEFG123` (where `ABCDEFG123` is your Apple development team ID) in your `.zshrc` or `.bashrc` file to set the `DEVELOPMENT_TEAM` environment variable. Alternatively, run `TUIST_DEVELOPMENT_TEAM=ABCDEFG123 tuist generate --path SampleApp` when generating the project. Referred to doc [here](https://docs.tuist.dev/en/guides/features/projects/dynamic-configuration)
2 parents 83bfcef + 64abd30 commit 2a641fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

SampleApp/Project.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import ProjectDescriptionHelpers
44

55
let project = Project(
66
name: "Development",
7-
settings: .settings(base: ["ENABLE_MODULE_VERIFIER": "YES"]),
7+
settings: .settings(base: [
8+
"ENABLE_MODULE_VERIFIER": "YES",
9+
"DEVELOPMENT_TEAM": SettingValue(stringLiteral: Environment.developmentTeam.getString(default: "")),
10+
]),
811
targets: [
912

1013
.app(

0 commit comments

Comments
 (0)