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 })); } }