Open janne-hmp opened 3 months ago
@mattleibow Any workarounds I could try here? Does anybody get iOS Release build with SkiaSharp in Preview 6 working?
It turns out you need to add <MtouchUseLlvm>False</MtouchUseLlvm>
to the project file, and it then builds fine. Obviously, LLVM optimizations are not working then, but at least the build process finishes then successfully.
Description
When using Visual Studio 17.11.0 Preview 4.0 to build a project using .NET MAUI 9.0 Preview 6 and SkiaSharp in Release configuration, the build process hangs up indefinitely in AOT compilation. Debug configuration works fine. Other platforms work fine. Xamarin iOS works fine. Both SkiaSharp 3.0 Preview 3.1 and 4.1 hang up, so it is not about SkiaSharp version.
Code
Expected Behavior
The build process succeeds in Release configuration.
Actual Behavior
The build process hangs up indefinitely in AOT compilation step in Release configuration.
Version of SkiaSharp
3.x (Alpha)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
iOS
Platform / Operating System Version
iOS 17.5.1, but did not get that far
Devices
iPad 11,7 but did not get that far
Relevant Screenshots
No response
Relevant Log Output
Code of Conduct