Fix macros on CI.

The explicit SDK usage means macros fail to compile for macOS. The SDK will be inferred by the destination platform.
Note: We no longer use a plugin so I've remove that argument too.
This commit is contained in:
Doug
2026-06-26 14:47:57 +01:00
committed by Doug
parent 66de86b5d2
commit 59ba4a238e
-2
View File
@@ -127,10 +127,8 @@ struct RunTests: AsyncParsableCommand {
private func executeXcodeBuild() async throws {
var command = "set -o pipefail && xcodebuild test"
command += " -scheme \(scheme)"
command += " -sdk iphonesimulator"
command += " -destination 'platform=iOS Simulator,name=\(device),OS=\(osVersion),arch=arm64'"
command += " -resultBundlePath \(resultBundlePath)"
command += " -skipPackagePluginValidation"
// Use xcodebuild's native retry support to re-run only failing tests
// instead of re-running the entire suite. retries=0 means no retries (single run).