It looks like this may work:
Xamarin Forms macOS Cocoa App and .NET MAUI error code '1' mm5309

Ángel Rubén Valdeolmos Carmona
611
Reputation points
I am using the Pkcs11Interop library:
https://github.com/Pkcs11Interop/Pkcs11Interop
and when compiling it gives me that error with VS2019 and VS2022:
failed to execute the tool 'clang' it failed with an error code '1' mm5309
\f0\fs24 \cf0 /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/15.4.442/targets/Xamarin.Shared.Sdk.targets(1219,3): error : clang++ exited with code 1\
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/15.4.442/targets/Xamarin.Shared.Sdk.targets(1219,3): error : \
/usr/local/share/dotnet/packs/Microsoft.MacCatalyst.Sdk/15.4.442/targets/Xamarin.Shared.Sdk.targets(1219,3): error : clang++ exited with code 1\
/usr/local/share/dotnet/packs/Microsoft.MacCatalyst.Sdk/15.4.442/targets/Xamarin.Shared.Sdk.targets(1219,3): error : \
when removing it everything compiles well, how can I solve it?
Developer technologies .NET Xamarin
5,380 questions
1 answer
Sort by: Most helpful
-
Ángel Rubén Valdeolmos Carmona 611 Reputation points
2022-08-10T10:09:34.797+00:00