Microsoft.Maui.Graphics
Microsoft.Maui.Graphics copied to clipboard
MAUI.iOS app with Maui.Graphics.Skia package is crashed while deploying from Visual Studio for Mac 2022
Hi Team,
My simple MAUI.iOS app with Microsoft.Maui.Graphics.Skia package is crashed with below error message, when deploying it from Visual Studio for Mac 2022.
Note: Same MAUI.iOS application working properly, if we deployed it from Visual Studio for Windows 2022
Could you please help me to address this issue ?
Thanks in advance.
Error Message:
Application Specific Information: dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot CoreSimulator 776.4 - Device: iPhone 13 Pro Max (BDBE6E42-4F8C-4FBC-AB32-DD752213A44C) - Runtime: iOS 15.0 (19A339) - DeviceType: iPhone 13 Pro Max dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot abort() called
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-ios (iPhone 13 Pro Max iOS 15.0) as your target platform.
- Add Microsoft.Maui.Graphics.Skia package version 6.0.101-preview.10.640 in your application.
- Deploy your application and try to open it.
- Now app crashed with mentioned error report.
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)
- iPhone 13 Pro Max iOS 15.0 (Simulator)
Attached a simple sample for references. MauiApp.zip
Screenshot of the issue: