Repository navigation
Add a Mac Catalyst head for macOS (CI build disabled for now) - #13
Open
simonebortolin wants to merge 4 commits into
Open
simonebortolin wants to merge 4 commits into
simonebortolin wants to merge 4 commits into
Conversation
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
|
Pre-release 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
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
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01SyVioB8aypTW6FAWsFg8U3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the macOS app as a Mac Catalyst head, so that
InTheHand.BluetoothLEuses 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.BluetoothLE4.0.45 ships CoreBluetooth only innet9.0-maccatalyst18.0/net9.0-ios18.0. Its plainnet9.0lib uses BlueZ/DBus, which is Linux only, so anet10.0desktop build on macOS could never scan or print. Avalonia 12.1.3 supports Mac Catalyst throughAvalonia.iOS(net10.0-maccatalyst26.0).Changes
Letra200bSharp.Avalonia.MacCatalyst(net10.0-maccatalyst, min macOS 12):AppDelegate : AvaloniaAppDelegate<App>plusMain.Info.plistwithNSBluetoothAlwaysUsageDescriptionandUIDeviceFamily6.LabelStudio200B.app, ad-hoc signed, no.pkg.Avalonia.iOSadded toDirectory.Packages.props; the project is added to the.slnx.build-macosjob (macos-26; publishesmaccatalyst-arm64/-x64, runscodesign --verify, zips withditto→Letra200bSharp-<ver>-osx-arm64.zip/-osx-x64.zip). It is disabled withif: ${{ false }}and is not in theneeds:of prerelease/release, so it doesn't block them.To turn it on later
Remove
if: ${{ false }}frombuild-macosand add it back to theneeds:ofprereleaseandrelease. The first run will also be the first real build of the head: it has never been compiled yet.Limits
🤖 Generated with Claude Code
https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1