Skip to content

Restore the zip error detail lost by the SuperNative squash - #276

Merged
simonhamp merged 1 commit into
NativePHP:mainfrom
trailhead-labs:fix/restore-zip-error-detail
Aug 4, 2026
Merged

simonhamp merged 1 commit into
NativePHP:mainfrom
trailhead-labs:fix/restore-zip-error-detail

Conversation

@gwleuverink

Copy link
Copy Markdown
Contributor

Follow-up from the squash audit discussed in #217. When zip fails during the iOS build, the exception currently reports a bare Failed to create ZIP file with no indication of why (disk full, permissions, unreadable file). #138 added the underlying error to the message, but the SuperNative squash (#173) carried a pre-#138 copy of createAppZip, silently reverting it.

This restores the original behavior: zip's stderr first, stdout as fallback, exit code as last resort. Since this exception is the only thing a user sees when a build dies at the zip step, the detail is what turns an undiagnosable support thread into a self-solvable error.

@simonhamp
simonhamp merged commit 421b57b into NativePHP:main Aug 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants