Migrate macOS project to official Microsoft.Maui.Platforms.MacOS packages#165
Open
jfversluis wants to merge 1 commit intoRedth:mainfrom
Open
Migrate macOS project to official Microsoft.Maui.Platforms.MacOS packages#165jfversluis wants to merge 1 commit intoRedth:mainfrom
jfversluis wants to merge 1 commit intoRedth:mainfrom
Conversation
…ages Replace the community Platform.Maui.MacOS packages (v0.3.0) with the official Microsoft.Maui.Platforms.MacOS packages (v0.1.0-preview.8.26256.5). Package changes: Microsoft.Maui.Platforms.MacOS Microsoft.Maui.Platforms.MacOS.BlazorWebView Microsoft.Maui.Platforms.MacOS.Essentials 10.0.41 (required dependency) Namespace changes: Microsoft.Maui.Platforms.MacOS.Platform Microsoft.Maui.Platforms.MacOS.Hosting Microsoft.Maui.Platforms.MacOS.Handlers Microsoft.Maui.Platforms.MacOS.Controls Microsoft.Maui.Platforms.MacOS.Essentials Adds Info.plist with NSBluetoothAlwaysUsageDescription. This is required because Microsoft.Maui.DevFlow.Agent (v0.1.0-preview.7.26230.1) uses CoreBluetooth (CBCentralManager) for device discovery. Without this key, macOS crashes the app on startup with a TCC privacy violation. This affects any Debug build using the current DevFlow agent version regardless of which macOS platform package is used. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Migrate macOS project to official Microsoft.Maui.Platforms.MacOS packages
Replaces the community Platform.Maui.MacOS packages (v0.3.0) with the official Microsoft packages (v0.1.0-preview.8.26256.5).
Package changes
Namespace changes
The official packages use Platforms (plural) instead of Platform:
Info.plist addition (NSBluetoothAlwaysUsageDescription)
This PR also adds an Info.plist with NSBluetoothAlwaysUsageDescription. Without this key, the app crashes on startup with a TCC privacy violation.
Root cause: Microsoft.Maui.DevFlow.Agent (v0.1.0-preview.7.26230.1) uses CoreBluetooth (CBCentralManager) for BLE device discovery. This was added in preview.7 -- the older preview.4 did not have it. This affects any Debug build using the current DevFlow agent version, regardless of which macOS platform package is used.
This is arguably a bug in DevFlow.Agent -- it should either weak-link CoreBluetooth or document the Info.plist requirement.
Testing