From da0ba6f40772dd51c0265aaf197b37335f911d2b Mon Sep 17 00:00:00 2001 From: Adam Essenmacher Date: Tue, 21 Apr 2026 15:26:44 -0400 Subject: [PATCH] Fail fast on xcframework creation errors --- common.cake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.cake b/common.cake index 5914d0c6..aa31073c 100644 --- a/common.cake +++ b/common.cake @@ -624,7 +624,7 @@ void BuildXcodeXcframework (FilePath xcodeProject, PodSpec [] podSpecs, Platform } Information ($"Building {podSpec.FrameworkName} xcframework..."); - StartProcess("xcodebuild", new ProcessSettings { Arguments = xcodeBuildArgs }); + ThrowIfProcessFailed ("xcodebuild -create-xcframework", StartProcess ("xcodebuild", new ProcessSettings { Arguments = xcodeBuildArgs })); } }