Microsoft.Maui.Graphics icon indicating copy to clipboard operation
Microsoft.Maui.Graphics copied to clipboard

MAUI.iOS app with Maui.Graphics.Skia package is crashed while deploying from Visual Studio for Mac 2022

Open Ramaraj-Marimuthu opened this issue 3 years ago • 0 comments

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:

  1. Create simple MAUI application by referring below link, https://docs.microsoft.com/en-us/dotnet/maui/get-started/first-app
  2. Mention net6.0-ios (iPhone 13 Pro Max iOS 15.0) as your target platform.
  3. Add Microsoft.Maui.Graphics.Skia package version 6.0.101-preview.10.640 in your application.
  4. Deploy your application and try to open it.
  5. Now app crashed with mentioned error report.

Note: Without a Microsoft.Maui.Graphics.Skia package application working properly.

Configuration Details:

  1. Visual Studio 2022 for Mac (Preview version)
  2. macOS Monterey version - 12.0.1
  3. MacBook Air (M1, 2020)
  4. iPhone 13 Pro Max iOS 15.0 (Simulator)

Attached a simple sample for references. MauiApp.zip

Screenshot of the issue:

image

image

Ramaraj-Marimuthu avatar Dec 17 '21 10:12 Ramaraj-Marimuthu