Skip to content

Commit

Permalink
🔀️ Merge branch 'ladislas/bugfix/fastlane-tuist-signing' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Nov 29, 2024
2 parents b265947 + 7921e42 commit 4b1f02a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Tuist/ProjectDescriptionHelpers/Project+App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,14 @@ public extension Project {
infoPlist: .extendingDefault(with: InfoPlist.extendingBase(version: version, with: infoPlist)),
sources: ["Sources/**"],
resources: .resources(["Resources/**"] + resources),
scripts: TargetScript.linters() + scripts, // Combine default scripts with custom scripts
scripts: TargetScript.linters() + scripts,
// Combine default scripts with custom scripts
dependencies: dependencies,
settings: .settings(base: .extendingBase(with: settings)),
settings:
.settings(base:
.extendingBase(with: settings)
.merging(SettingsDictionary.manualCodeSigning)
),
environmentVariables: [
"IDEPreferLogStreaming": "YES",
],
Expand Down
6 changes: 6 additions & 0 deletions Tuist/ProjectDescriptionHelpers/SettingsDictionary+Base.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ public extension SettingsDictionary {
settings = settings.otherSwiftFlags(["-D", "PRODUCTION_BUILD"])
}

return settings
}

static var manualCodeSigning: SettingsDictionary {
var settings: SettingsDictionary = [:]

if Environment.fastlaneBuild.getBoolean(default: false) {
let bundleId = Environment.fastlaneMatchAppBundleId.getString(default: "")

Expand Down

0 comments on commit 4b1f02a

Please sign in to comment.