uno
uno copied to clipboard
[Skia-Desktop][Mac]
Hello
I am trying to download Skia Desktop on macOS for Uno samples app. In order to run samples app using CLI i will have to run using dotnet SamplesApp.Skia.Generic.dll
but unfortunately i am getting an error when i am trying to run the samples app.
This was the error message which i am getting when i trying to run the cli when we try to run in the path. But the same one is working completely fine for running Skia desktop on Windows and Linux.
`dbug: Uno.UI.Runtime.Skia.SkiaHostBuilder[0]
Host builder Uno.UI.Runtime.Skia.X11HostBuilder is not supported
dbug: Uno.UI.Runtime.Skia.SkiaHostBuilder[0]
Host builder Uno.UI.Runtime.Skia.FramebufferHostBuilder is not supported
dbug: Uno.UI.Runtime.Skia.SkiaHostBuilder[0]
Host builder Uno.UI.Runtime.Skia.WpfHostBuilder is not supported
dbug: Uno.UI.Runtime.Skia.SkiaHostBuilder[0]
Using host builder Uno.UI.Runtime.Skia.MacOSHostBuilder
fail: SamplesApp.App[0]
UnhandledException
System.TypeInitializationException: The type initializer for 'Uno.UI.Runtime.Skia.MacOS.MacSkiaHost' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libUnoNativeMac.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file)
dlopen(libUnoNativeMac.dylib, 0x0001): tried: 'libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibUnoNativeMac.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib' (no such file, not in dyld cache), 'libUnoNativeMac.dylib' (no such file), '/usr/local/lib/libUnoNativeMac.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETUnhandled exception.Core.App/8.0.4/liblibUnoNativeMac.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file)
dlopen(liblibUnoNativeMac.dylib, 0x0001): tried: 'liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibUnoNativeMac.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib' (no such file, not in dyld cache), 'liblibUnoNativeMac.dylib' (no such file), '/usr/local/lib/liblibUnoNativeMac.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(libUnoNativeMac.dylib.dylib, 0x0001): tried: 'libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib.dylib' (no such file, not in dyld cache), 'libUnoNativeMac.dylib.dylib' (no such file), '/usr/local/lib/libUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(liblibUnoNativeMac.dylib.dylib, 0x0001): tried: 'liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib.dylib' (no such file, not in dyld cache), 'liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/local/lib/liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib.dylib' (no such file, not in dyld cache)
at Uno.UI.Runtime.Skia.MacOS.NativeUno.uno_set_drawing_callbacks( metalCallback, softCallback, resizeCallback)
at Uno.UI.Runtime.Skia.MacOS.MacOSWindowHost.Register() in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacOSWindowHost.cs:line 172
at Uno.UI.Runtime.Skia.MacOS.MacSkiaHost..cctor() in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacSkiaHost.cs:line 17
--- End of inner exception stack trace ---
at Uno.UI.Runtime.Skia.MacOS.MacSkiaHost..ctor(Func`1 appBuilder) in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacSkiaHost.cs:line 34
at Uno.UI.Runtime.Skia.MacOSHostBuilder.Create(Func`1 appBuilder) in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\Builder\MacOSHostBuilder.cs:line 16
at Uno.UI.Runtime.Skia.SkiaHostBuilder.Build() in C:\a\1\s\src\Uno.UI.Runtime.Skia\SkiaHostBuilder.cs:line 52
at SkiaSharpExample.MainClass.Main(String[] args) in C:\a\1\s\src\SamplesApp\SamplesApp.Skia.Generic\Program.cs:line 18
fail: SamplesApp.App[0]
UnhandledException
System.TypeInitializationException: The type initializer for 'Uno.UI.Runtime.Skia.MacOS.MacSkiaHost' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libUnoNativeMac.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file)
dlopen(libUnoNativeMac.dylib, 0x0001): tried: 'libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibUnoNativeMac.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib' (no such file, not in dyld cache), 'libUnoNativeMac.dylib' (no such file), '/usr/local/lib/libUnoNativeMac.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file)
dlopen(liblibUnoNativeMac.dylib, 0x0001): tried: 'liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibUnoNativeMac.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib' (no such file, not in dyld cache), 'liblibUnoNativeMac.dylib' (no such file), '/usr/local/lib/liblibUnoNativeMac.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(libUnoNativeMac.dylib.dylib, 0x0001): tried: 'libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib.dylib' (no such file, not in dyld cache), 'libUnoNativeMac.dylib.dylib' (no such file), '/usr/local/lib/libUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(liblibUnoNativeMac.dylib.dylib, 0x0001): tried: 'liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib.dylib' (no such file, not in dyld cache), 'liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/local/lib/liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/libSystem.TypeInitializationException: The type initializer for 'Uno.UI.Runtime.Skia.MacOS.MacSkiaHost' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libUnoNativeMac.dylib' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib' (no such file)
dlopen(libUnoNativeMac.dylib, 0x0001): tried: 'libUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibUnoNativeMac.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib' (no such file, not in dyld cache), 'libUnoNativeMac.dylib' (no such file), '/usr/local/lib/libUnoNativeMac.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib' (no such file)
dlopen(liblibUnoNativeMac.dylib, 0x0001): tried: 'liblibUnoNativeMac.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibUnoNativeMac.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib' (no such file, not in dyld cache), 'liblibUnoNativeMac.dylib' (no such file), '/usr/local/lib/liblibUnoNativeMac.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/libUnoNativeMac.dylib.dylib' (no such file)
dlopen(libUnoNativeMac.dylib.dylib, 0x0001): tried: 'libUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib.dylib' (no such file, not in dyld cache), 'libUnoNativeMac.dylib.dylib' (no such file), '/usr/local/lib/libUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/libUnoNativeMac.dylib.dylib' (no such file, not in dyld cache)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/runtimes/osx/native/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib, 0x0001): tried: '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file), '/Users/darshpatel/Downloads/skia-generic-samples-app-WinUI/liblibUnoNativeMac.dylib.dylib' (no such file)
dlopen(liblibUnoNativeMac.dylib.dylib, 0x0001): tried: 'liblibUnoNativeMac.dylib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib.dylib' (no such file, not in dyld cache), 'liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/local/lib/liblibUnoNativeMac.dylib.dylib' (no such file), '/usr/lib/liblibUnoNativeMac.dylib.dylib' (no such file, not in dyld cache)
at Uno.UI.Runtime.Skia.MacOS.NativeUno.uno_set_drawing_callbacks( metalCallback, softCallback, resizeCallback)
at Uno.UI.Runtime.Skia.MacOS.MacOSWindowHost.Register() in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacOSWindowHost.cs:line 172
at Uno.UI.Runtime.Skia.MacOS.MacSkiaHost..cctor() in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacSkiaHost.cs:line 17
--- End of inner exception stack trace ---
at Uno.UI.Runtime.Skia.MacOS.MacSkiaHost..ctor(Func`1 appBuilder) in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacSkiaHost.cs:line 34
at Uno.UI.Runtime.Skia.MacOSHostBuilder.Create(Func`1 appBuilder) in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\Builder\MacOSHostBuilder.cs:line 16
at Uno.UI.Runtime.Skia.SkiaHostBuilder.Build() in C:\a\1\s\src\Uno.UI.Runtime.Skia\SkiaHostBuilder.cs:line 52
at SkiaSharpExample.MainClass.Main(String[] args) in C:\a\1\s\src\SamplesApp\SamplesApp.Skia.Generic\Program.cs:line 18/liblibUnoNativeMac.dylib.dylib' (no such file, not in dyld cache)
at Uno.UI.Runtime.Skia.MacOS.NativeUno.uno_set_drawing_callbacks( metalCallback, softCallback, resizeCallback)
at Uno.UI.Runtime.Skia.MacOS.MacOSWindowHost.Regist
er() in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacOSWindowHost.cs:line 172
at Uno.UI.Runtime.Skia.MacOS.MacSkiaHost..cctor() in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacSkiaHost.cs:line 17
--- End of inner exception stack trace ---
at Uno.UI.Runtime.Skia.MacOS.MacSkiaHost..ctor(Func`1 appBuilder) in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\MacSkiaHost.cs:line 34
at Uno.UI.Runtime.Skia.MacOSHostBuilder.Create(Func`1 appBuilder) in C:\a\1\s\src\Uno.UI.Runtime.Skia.MacOS\Builder\MacOSHostBuilder.cs:line 16
at Uno.UI.Runtime.Skia.SkiaHostBuilder.Build() in C:\a\1\s\src\Uno.UI.Runtime.Skia\SkiaHostBuilder.cs:line 52
at SkiaSharpExample.MainClass.Main(String[] args) in C:\a\1\s\src\SamplesApp\SamplesApp.Skia.Generic\Program.cs:line 18
zsh: abort dotnet SamplesApp.Skia.Generic.dll`
I looks like we're not placing the right assets in the right places for macOS for the samples app.
I am using the command when its in the Artificats unzipped folder.
Last login: Wed May 15 15:29:04 on ttys001
darshpatel@Darshs-MacBook-Air skia-generic-samples-app-WinUI % dotnet SamplesApp.Skia.Generic.dll