Microsoft.Maui.Graphics
Microsoft.Maui.Graphics copied to clipboard
Cannot deploy simple MAUI application in Mac Catalyst with Microsoft.Maui.Graphics.Skia package
Hi Team,
I am facing below error while building the simple MAUI application with Microsoft.Maui.Graphics.Skia package in Mac Catalyst environment.
Could you please help me to address this issue ?
Thanks in advance.
Error Message:
/Users/ram/.nuget/packages/skiasharp.nativeassets.maccatalyst/2.88.0-preview.155/buildTransitive/net6.0-maccatalyst13.5/SkiaSharp.NativeAssets.MacCatalyst.targets(34,34): Error MSB4184: The expression "[System.IO.File]::GetAttributes(bin/Debug/net6.0-maccatalyst/maccatalyst-x64/MauiApp1.app/Contents/Frameworks/libSkiaSharp.framework/libSkiaSharp)" cannot be evaluated. Could not find a part of the path '/Users/ram/Documents/Ramaraj/MauiApp1/MauiApp1/bin/Debug/net6.0-maccatalyst/maccatalyst-x64/MauiApp1.app/Contents/Frameworks/libSkiaSharp.framework/libSkiaSharp'. (MSB4184) (MauiApp1)
Replication Procedure:
- Create simple MAUI application by referring below link, https://docs.microsoft.com/en-us/dotnet/maui/get-started/first-app
- Mention net6.0-maccatalyst (My Mac) as your target platform.
- Add Microsoft.Maui.Graphics.Skia package version 6.0.101-preview.10.640 in your application.
- Build your sample and issue reproduced now.
Note: Without a Microsoft.Maui.Graphics.Skia package application working properly.
Configuration Details:
- Visual Studio 2022 for Mac (Preview version)
- macOS Monterey version - 12.0.1
- MacBook Air (M1, 2020)
Attached a simple sample for references. MauiApp.zip
Screenshot of the issue:
Hi Team,
Any update in this ? It will be helpful for us.
Thanks, M. Ramaraj.
Hi Team,
Still I'm waiting for your reply. Thanks in advance.
Thanks, M. Ramaraj.