Skip to content

Commit db9f0c6

Browse files
committed
Debug: Disable xcpretty and show raw xcodebuild errors to diagnose build failure
1 parent 676f504 commit db9f0c6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/build.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ NOTARIZATION_ISSUER_ID="${NOTARIZATION_ISSUER_ID:-69a6de8e-e388-47e3-e053-5b8c7c
2222

2323
# --- Helper Functions ---
2424

25-
if hash xcpretty 2>/dev/null; then
26-
HAS_XCPRETTY=true
27-
fi
25+
# Temporarily disable xcpretty to see actual errors in CI
26+
# if hash xcpretty 2>/dev/null; then
27+
# HAS_XCPRETTY=true
28+
# fi
2829

2930
# Function to print a section header with emoji
3031
function print_section() {
@@ -72,7 +73,7 @@ function invoke_xcodebuild() {
7273
NSUnbufferedIO=YES xcodebuild $arguments | xcpretty -c
7374
exit_code=${PIPESTATUS[0]}
7475
else
75-
xcodebuild $arguments
76+
xcodebuild $arguments 2>&1
7677
exit_code=$?
7778
fi
7879

0 commit comments

Comments
 (0)