CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

QoL: brew distribution for Intel Mac

Open ChrisGVE opened this issue 9 months ago β€’ 5 comments

To start things: I am aware of issue #52.

Given that app runs very well on Mac Intel with Sequoia (iMac 5K 2020), and that you are actively developing it πŸ‘, it is a bit of a pain to pull it and recompile it.

Would you consider shipping the Intel version of the app via brew? that would be a time saver for all of us still working on Intel Macs.

ChrisGVE avatar Feb 04 '26 11:02 ChrisGVE

Right now Homebrew install is available only as an ARM64 cask (steipete/tap/codexbar), which blocks Intel Mac users completely.

Would you consider adding a source-build option for x86_64 users?

Why this matters

  • Intel Macs are still in active use.
  • Current cask is binary-only and architecture-restricted.
  • Users who can compile locally have no supported Homebrew path.

Proposal

  1. Keep current ARM64 cask for prebuilt app distribution.
  2. Add a Homebrew formula (or alternative documented build command) that supports:
    • --build-from-source
    • local build on x86_64 (and optionally arm64)
  3. Document dependencies and reproducible build steps.

Suggested outcome

  • brew install --cask codexbar β†’ fast path for ARM users
  • brew install codexbar --build-from-source β†’ fallback path for Intel users

If helpful, I can test Intel build instructions and report back.

vshuraeff avatar Feb 09 '26 12:02 vshuraeff

That would be a good compromise, in the meantime, I've created a small build script that does what homebrew would do, but a formula should be more resilient over time.

ChrisGVE avatar Feb 09 '26 12:02 ChrisGVE

any thoughts so far @steipete ? πŸ‘€

pedrorijo91 avatar Feb 26 '26 07:02 pedrorijo91

Just raised PR #544 which may be relevant to this β€” it adds x86_64 cross-compilation verification to CI and fixes two macro errors that were silently breaking Intel builds.

The context: PR #331 made package_app.sh default to universal binaries, but CI only ran swift test on arm64. That meant Intel-breaking regressions could merge undetected and corrupt those universal release builds. Running an actual swift build --arch x86_64 step in CI surfaced two existing failures (@Entry macro and #Preview blocks in KeyboardShortcuts) that have now been fixed.

With that CI gate in place, universal binaries should stay reliably buildable on x86_64 β€” which is a prerequisite for a trustworthy Intel Homebrew distribution.

Sagart-cactus avatar Mar 16 '26 16:03 Sagart-cactus

Thanks for the suggestion. I’m closing this as not planned for the current product scope. Intel distribution/build support is no longer something we’re keeping open in this tracker as an active direction.

If platform support changes in the future, it can be revisited with a fresh tracking issue.

ngutman avatar Apr 12 '26 09:04 ngutman