Fix profile action to not run frameworks (#1245)

* Fix profile action to not run frameworks

* Add PR number to changelog

* Update CHANGELOG.md

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
This commit is contained in:
Steven Sheldon
2022-08-11 22:45:06 +10:00
committed by GitHub
co-authored by Yonas Kolb
parent ac525a445e
commit e9295f1ff3
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -320,10 +320,11 @@ public class SchemeGenerator {
)
let profileAction = XCScheme.ProfileAction(
buildableProductRunnable: runnables.profile,
buildableProductRunnable: shouldExecuteOnLaunch ? runnables.profile : nil,
buildConfiguration: scheme.profile?.config ?? defaultReleaseConfig.name,
preActions: scheme.profile?.preActions.map(getExecutionAction) ?? [],
postActions: scheme.profile?.postActions.map(getExecutionAction) ?? [],
macroExpansion: shouldExecuteOnLaunch ? nil : buildableReference,
shouldUseLaunchSchemeArgsEnv: scheme.profile?.shouldUseLaunchSchemeArgsEnv ?? true,
askForAppToLaunch: scheme.profile?.askForAppToLaunch,
commandlineArguments: profileCommandLineArgs,