Skip to content

Commit 21b63c6

Browse files
Fail fast on xcframework creation errors (#192)
1 parent d464908 commit 21b63c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ void BuildXcodeXcframework (FilePath xcodeProject, PodSpec [] podSpecs, Platform
624624
}
625625

626626
Information ($"Building {podSpec.FrameworkName} xcframework...");
627-
StartProcess("xcodebuild", new ProcessSettings { Arguments = xcodeBuildArgs });
627+
ThrowIfProcessFailed ("xcodebuild -create-xcframework", StartProcess ("xcodebuild", new ProcessSettings { Arguments = xcodeBuildArgs }));
628628
}
629629
}
630630

0 commit comments

Comments
 (0)