Skip to content

Ignore macOS dSYM DWARF when packing native archives - #19

Merged
kzu merged 1 commit into
mainfrom
dev/nativepack-skip-dsym
Aug 27, 2026
Merged

Ignore macOS dSYM DWARF when packing native archives#19
kzu merged 1 commit into
mainfrom
dev/nativepack-skip-dsym

Conversation

@kzu

@kzu kzu commented Aug 27, 2026

Copy link
Copy Markdown
Member

osx RID nupkgs contain two files named ndx: the Native AOT binary at tools/any/{rid}/ndx and the DWARF file inside ndx.dSYM/.../DWARF/ndx. nativepack treated that as an error, so publish failed on osx-x64 and osx-arm64 after the nupkg itself packed.

Skip .dSYM paths and prefer the SDK tool entry. Fixture osx nupkgs now include a dSYM decoy so this cannot regress.

osx RID nupkgs contain both tools/any/{rid}/ndx and ndx.dSYM/.../DWARF/ndx. nativepack now skips .dSYM paths and prefers the tool entry so publish can emit zip/tar.gz on macOS.
@kzu kzu added the bug Something isn't working label Aug 27, 2026
@kzu
kzu enabled auto-merge (rebase) August 27, 2026 06:41
@kzu

kzu commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

199 passed 199 passed

🧪 Details on Ubuntu 24.04.4 LTS

from retest v1.1.0 on .NET 10.0.11 with 💜 by @devlooped

@kzu
kzu merged commit b59365e into main Aug 27, 2026
3 checks passed
@kzu
kzu deleted the dev/nativepack-skip-dsym branch August 27, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant