Any plans for releasing macOS builds for Apple Silicon? #1196
Unanswered
marcomasser
asked this question in
Q&A
Replies: 1 comment
-
No plans for me to look into it, but someone else is welcome to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that the releases for danger-js contain binaries for macOS (e.g. the current release 10.8.0). This binary is Intel-only (x86_64) and since this is also the one that is used when installing via Homebrew (
brew install danger/tap/danger-js
), users on Apple Silicon Macs (arm64) can’t meaningfully use this for Danger Swift as installed via Homebrew. That’s because Danger Swift does not offer binaries and the code is compiled locally when runningbrew install danger/tap/danger-swift
. This results in a situation where thedanger
binary is x86_64, but thedanger-swift
binary isarm64
.Honestly, I don’t understand how these two things relate to each other, but running some
danger-swift
commands works (e.g.danger-swift edit
), but others result in an error (e.g.danger-swift pr [URL]
):I guess that this happens:
danger
is run in an x86_64 environment (because it’s compiled only for that)danger
runsdanger-swift
(which inherits the x86_64 environment)danger-swift
tries to load libDanger.dylib – but that doesn’t work because it was only compiled for arm64 💥I would also guess that this setup would work if the
danger
binary were compatible with arm64 (i.e. either a separate download or a Universal binary). If that is true, are there any plans on releasing binaries for that?Beta Was this translation helpful? Give feedback.
All reactions