mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
Merge pull request #199 from vhbit/overwrite-cmdargs
Fixed test/profile command line args not being passed
This commit is contained in:
1 file changed
+2
@@ -70,6 +70,7 @@ public class ProjectGenerator {
|
||||
let testAction = XCScheme.TestAction(buildConfiguration: scheme.test?.config ?? defaultDebugConfig.name,
|
||||
macroExpansion: buildableReference,
|
||||
testables: testables,
|
||||
shouldUseLaunchSchemeArgsEnv: scheme.test?.commandLineArguments.isEmpty ?? true,
|
||||
codeCoverageEnabled: scheme.test?.gatherCoverageData ?? false,
|
||||
commandlineArguments: testCommandLineArgs)
|
||||
|
||||
@@ -79,6 +80,7 @@ public class ProjectGenerator {
|
||||
|
||||
let profileAction = XCScheme.ProfileAction(buildableProductRunnable: productRunable,
|
||||
buildConfiguration: scheme.profile?.config ?? defaultReleaseConfig.name,
|
||||
shouldUseLaunchSchemeArgsEnv: scheme.profile?.commandLineArguments.isEmpty ?? true,
|
||||
commandlineArguments: profileCommandLineArgs)
|
||||
|
||||
let analyzeAction = XCScheme.AnalyzeAction(buildConfiguration: scheme.analyze?.config ?? defaultDebugConfig.name)
|
||||
|
||||
Reference in new issue
Block a user