You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This in Xamarin forms macOS works fine, but in .NET MAUI it shows the following error:
Log:
ld: building for Mac Catalyst, but linking in dylib built for macOS, file 'obj/Debug/net6.0-maccatalyst/maccatalyst-x64/nativelibraries/libempty-pkcs11-x64.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Description
I am using https://github.com/Pkcs11Interop/Pkcs11Interop and make a native reference to the library as indicated in:
https://github.com/Pkcs11Interop/empty-pkcs11
This in Xamarin forms macOS works fine, but in .NET MAUI it shows the following error:
![Captura](https://user-images.githubusercontent.com/11645585/187658733-a66798f5-dbec-4259-ae0b-af3a38f611d5.PNG)
Log:
More info:
xamarin/xamarin-macios#15044
Steps to Reproduce
Create a .NET MAUI project and add the Pkcs11Interop nuget and library as shown in my screenshot.
Version with bug
6.0.486 (current)
Last version that worked well
Affected platforms
MacCatalyst
Affected platform versions
MacCatalyst
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: