Skip to content

Commit 99ded1c

Browse files
committed
Do release builds in the plugin
Was suggested in #90 (comment) and I think it makes sense since the main use case of the plugin is probably to test "real" projects which are more likely to not work in debug builds.
1 parent e0cab18 commit 99ded1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/launch-xcode/launch-xcode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct LaunchXcode: CommandPlugin {
2020
print("This command is only supported on macOS")
2121
return
2222
#else
23-
let buildResult = try packageManager.build(.all(includingTests: false), parameters: .init(echoLogs: true))
23+
let buildResult = try packageManager.build(.all(includingTests: false), parameters: .init(configuration: .release, echoLogs: true))
2424
guard buildResult.succeeded else { return }
2525
guard let buildServiceURL = buildResult.builtArtifacts.map({ $0.url }).filter({ $0.lastPathComponent == "SWBBuildServiceBundle" }).first else {
2626
print("Failed to determine path to built SWBBuildServiceBundle")

0 commit comments

Comments
 (0)