ekctl icon indicating copy to clipboard operation
ekctl copied to clipboard

Publish prebuilt binaries in GitHub Releases for v1.4.0+ (attendees feature otherwise needs a full Xcode build)

Open xyb opened this issue 6 months ago • 1 comments

Thanks for ekctl! The attendees array added in #6 (v1.4.0) is exactly what I need for reading meeting participant lists from EventKit.

Problem: v1.4.0 is effectively only installable by building from source, which has a high barrier.

  • GitHub Releases only go up to v1.2.0 (https://github.com/schappim/ekctl/releases), and the attached ekctl-v1.2.0.tar.gz predates the attendees feature.
  • The Homebrew formula (schappim/ekctl/ekctl, stable 1.4.0) refuses to build with only the Command Line Tools installed:
    ekctl: A full installation of Xcode.app 14.0 is required to compile
    this software. Installing just the Command Line Tools is not sufficient.
    
  • Building directly with the Command Line Tools' SwiftPM (swift build -c release, Swift 6.1.2) fails at the manifest stage:
    error: 'ekctl': Invalid manifest ...
    Undefined symbols for architecture arm64:
      "PackageDescription.Package.__allocating_init(...)"
    ld: symbol(s) not found for architecture arm64
    

So users who only have the Command Line Tools (no full Xcode.app) currently can't get the attendees feature at all.

Request: Could you cut a v1.4.0 (and going forward) GitHub Release with prebuilt binaries — at least arm64, ideally a universal arm64 + x86_64 binary — and/or ship a Homebrew bottle, so installing doesn't require a full Xcode install? A compiled ekctl attached to the release as a .tar.gz (like the existing ekctl-v1.2.0.tar.gz) would be enough.

Environment: macOS (Apple Silicon), currently on ekctl 1.2.0.

Thanks!

xyb avatar Jun 03 '26 06:06 xyb

Done — prebuilt binaries are back, starting with v1.4.0.

v1.4.0 now has a GitHub Release with a prebuilt universal (arm64 + x86_64) binary: https://github.com/schappim/ekctl/releases/tag/v1.4.0 — this includes the attendees array from #6 that you're after.

curl -L -o ekctl.tar.gz https://github.com/schappim/ekctl/releases/download/v1.4.0/ekctl-v1.4.0.tar.gz
tar -xzf ekctl.tar.gz
xattr -d com.apple.quarantine ekctl   # clear Gatekeeper quarantine from the download
sudo mv ekctl /usr/local/bin/
ekctl --version   # 1.4.0

A .sha256 checksum is attached alongside the tarball.

Going forward this is automatic: every pushed v* tag now runs a release workflow (722e62d) that builds the universal binary on a macOS runner, signs it with the EventKit entitlements, and attaches ekctl-<tag>.tar.gz + checksum to the GitHub Release — so releases can't silently fall behind tags again the way v1.3.0/v1.4.0 did.

A couple of notes:

  • The binary is ad-hoc signed (not notarized), hence the xattr step after download.
  • The Homebrew formula still builds from source and therefore still wants full Xcode; the release tarball is the no-Xcode path for now. A binary-based formula/bottle in the tap is a sensible follow-up.

Closing since the v1.4.0 release plus the automated workflow covers the request — and a v1.5.0 (date-format improvements) will land shortly via the same pipeline.

schappim avatar Jun 10 '26 04:06 schappim