Commit 332c43c
Fix .bundle resources not included in Universal binary builds
When building Universal binaries, the collector was finding both the
Universal binary from apple/Products/Release/ and single-arch binaries
from arm64-apple-macosx/release/ and x86_64-apple-macosx/release/.
This created redundant variants, and since .bundle resources only exist
in the apple path, single-arch variants were missing resources.
This fix filters out single-arch variants that are already covered by
Universal binaries, ensuring only the Universal variant (with .bundle)
is included in the artifact bundle.
Changes:
- Add filtering logic in collector.ts to exclude redundant single-arch
variants when Universal binary exists
- Update test to verify only Universal variant is created and .bundle
is included
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 98de59e commit 332c43c
5 files changed
Lines changed: 6418 additions & 6867 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
199 | 208 | | |
200 | 209 | | |
201 | 210 | | |
| |||
310 | 319 | | |
311 | 320 | | |
312 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
313 | 337 | | |
314 | 338 | | |
315 | 339 | | |
| |||
Loading
0 commit comments