Skip to content

Add a Mac Catalyst head for macOS (CI build disabled for now) - #13

Open
simonebortolin wants to merge 4 commits into
mainfrom
claude/cool-faraday-ak6r4t
Open

simonebortolin wants to merge 4 commits into
mainfrom
claude/cool-faraday-ak6r4t

Conversation

@simonebortolin

@simonebortolin simonebortolin commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Adds the macOS app as a Mac Catalyst head, so that InTheHand.BluetoothLE uses its CoreBluetooth backend. The macOS CI build is disabled for now because there is no Mac to try the app on yet: no osx archives are built or released.

Why Mac Catalyst

InTheHand.BluetoothLE 4.0.45 ships CoreBluetooth only in net9.0-maccatalyst18.0 / net9.0-ios18.0. Its plain net9.0 lib uses BlueZ/DBus, which is Linux only, so a net10.0 desktop build on macOS could never scan or print. Avalonia 12.1.3 supports Mac Catalyst through Avalonia.iOS (net10.0-maccatalyst26.0).

Changes

  • New project Letra200bSharp.Avalonia.MacCatalyst (net10.0-maccatalyst, min macOS 12):
    • AppDelegate : AvaloniaAppDelegate<App> plus Main.
    • Info.plist with NSBluetoothAlwaysUsageDescription and UIDeviceFamily 6.
    • Bundle LabelStudio200B.app, ad-hoc signed, no .pkg.
  • Avalonia.iOS added to Directory.Packages.props; the project is added to the .slnx.
  • CI: a build-macos job (macos-26; publishes maccatalyst-arm64/-x64, runs codesign --verify, zips with ditto → Letra200bSharp-<ver>-osx-arm64.zip/-osx-x64.zip). It is disabled with if: ${{ false }} and is not in the needs: of prerelease/release, so it doesn't block them.
  • About tab: CommandLineParser isn't listed on Mac Catalyst, which has no CLI.
  • README: describes the macOS project and says it isn't released yet. The platform badge is unchanged.

To turn it on later

Remove if: ${{ false }} from build-macos and add it back to the needs: of prerelease and release. The first run will also be the first real build of the head: it has never been compiled yet.

Limits

  • macOS is GUI only (no CLI); the app has no icon yet; it is not notarized.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1

Align the desktop targets with SharpMediaInfo: Windows x64/arm64, Linux x64/arm64
and now macOS arm64/x64, both published from one Apple Silicon runner and shipped
in the PR pre-release and the release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Pre-release 1.6.2-pr.13.73 is ready: https://github.com/simonebortolin/Letra200bSharp/releases/tag/pr-13-73-1

Windows, Linux and Android builds of 5b1cbd6. Updated on every push, deleted when this PR is closed.

InTheHand.BluetoothLE only has its CoreBluetooth backend in the maccatalyst/ios
builds; a plain net10.0 macOS build gets the BlueZ (Linux) one and can never scan.
Add Letra200bSharp.Avalonia.MacCatalyst (Avalonia.iOS on net10.0-maccatalyst, with
NSBluetoothAlwaysUsageDescription) and build it in CI for maccatalyst-arm64 and
maccatalyst-x64 instead of the net10.0 osx desktop builds, released as ad-hoc
signed LabelStudio200B.app zips named osx-arm64/osx-x64.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1
@simonebortolin simonebortolin changed the title ci: build macOS desktop apps (osx-arm64, osx-x64) Add macOS (osx-arm64, osx-x64) as a Mac Catalyst app with CoreBluetooth Nov 1, 2026
The Mac Catalyst head stays in the solution; the build-macos job is skipped and
no longer gates the pre-release and release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1
@simonebortolin simonebortolin changed the title Add macOS (osx-arm64, osx-x64) as a Mac Catalyst app with CoreBluetooth Add a Mac Catalyst head for macOS (CI build disabled for now) Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants