Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] NSView.Accessibility* is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' #8237

Closed
Juriyx opened this issue Mar 5, 2022 · 1 comment
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools

Comments

@Juriyx
Copy link

Juriyx commented Mar 5, 2022

Current behavior

[/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(323,137): error BI1234: 'NSView.AccessibilityActionNames' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(323,137): error BI1234: 'NSView.AccessibilityActionNames.get' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(344,140): error BI1234: 'NSView.AccessibilityAttributeNames' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(344,140): error BI1234: 'NSView.AccessibilityAttributeNames.get' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(523,135): error BI1234: 'NSView.AccessibilityIsIgnored' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(523,135): error BI1234: 'NSView.AccessibilityIsIgnored.get' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(609,153): error BI1234: 'NSView.AccessibilityParameterizedAttributeNames' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]
/Users/runner/work/1/s/Client/Client.Mobile/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.BindableTypeProviders.BindableTypeProvidersSourceGenerator/BindableMetadata.cs(609,153): error BI1234: 'NSView.AccessibilityParameterizedAttributeNames.get' is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [/Users/runner/work/1/s/Client/Client.Mobile/Transmission.Client.Mobile.csproj]

Expected behavior

Migrated to new methods

How to reproduce it (as minimally and precisely as possible)

Use the latest .NET template with Uno.UI 4.2.0-dev.217

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Uno.SourceGenerationTasks

NuGet package version(s)

4.2.0-dev.217

Affected platforms

macOS

IDE

Visual Studio 2022

IDE version

17.1

Relevant plugins

No response

Anything else we need to know?

No response

@Juriyx Juriyx added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Mar 5, 2022
@Juriyx Juriyx changed the title [macOS] NSView.Accessibility* is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' [macOS] NSView.Accessibility* is obsolete: 'Starting with macos10.10 Use the NSAccessibility protocol methods instead.' Mar 5, 2022
@jeromelaban jeromelaban added project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools and removed triage/untriaged Indicates an issue requires triaging or verification labels Mar 7, 2022
@MartinZikmund MartinZikmund added platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jul 24, 2023
@MartinZikmund
Copy link
Member

This is no longer relevant as we have a new macOS backend 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools
Projects
None yet
Development

No branches or pull requests

3 participants