From 7762c6806a1b9324fe6efff766132fc7cec3ad76 Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Tue, 10 Nov 2026 03:00:51 +0700 Subject: [PATCH] ci(release): archive the app with xcodebuild -jobs 1 --- apple/scripts/release/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apple/scripts/release/build.sh b/apple/scripts/release/build.sh index 8523cd0c17..a3556b46aa 100755 --- a/apple/scripts/release/build.sh +++ b/apple/scripts/release/build.sh @@ -90,7 +90,9 @@ build_app() { profile=("TABLEPRO_PROVISIONING_PROFILE=$name") fi - xcodebuild_project archive-app archive -scheme TablePro -archivePath "$archive" \ + # One task at a time: the app module's arm64 and x86_64 whole-module compiles at once outgrow + # a 7 GB hosted runner and swap, 237 min against 105 min measured in run 42617599195. + xcodebuild_project archive-app archive -jobs 1 -scheme TablePro -archivePath "$archive" \ ${profile[@]+"${profile[@]}"} # -exportArchive refuses a generic archive, which is what any other installed product makes it. [ "$(plutil -extract ApplicationProperties.ApplicationPath raw -o - "$archive/Info.plist" 2> /dev/null)" \