Manuel

Results 14 comments of Manuel

@rolfbjarne thanks for the quick reply. That seems to build! Will run a few tests to see if it also works correctly

Now I've properly tested it. So prepending `lib` to the library name fixed it. Is this by design or will you be fixing it in the final release?

@angelru try building the library with catalyst target as seen here: https://developer.apple.com/forums/thread/122571 ``` clang -target x86_64-apple-ios-macabi \ -arch arm64 -arch x86_64 \ -isysroot `xcrun --sdk macosx --show-sdk-path` \ -miphoneos-version-min=13.0 \...

@AArnott For some reason here I managed to reproduce it with the Debug switch as well. @tj-devel709 it doesn't crash because I added a try/catch that catches all exceptions. If...

Enabling the interpreter seems to solve the issue, although I don't know if publishing an app with the interpreter enabled is a valid solution for the app store. Probably the...

I tried adding `SdkOnly` to only link SDK assemblies but the issue is still there. I'll see if I can get some help from the Xamarin guys in disabling linker...

Unfortunately disabling linking altogether brought in a ton of other issues and is not really an option. Is there anything else I could try or do to workaround the issue?...

I tried adding a separate linker.xml file as seen here: https://docs.microsoft.com/en-us/xamarin/cross-platform/deploy-test/linker with the following configuration: ``` ``` checking msbuild binlog I see it is being used: ``` /usr/local/share/dotnet/dotnet "/usr/local/share/dotnet/sdk/6.0.400/Sdks/Microsoft.NET.ILLink.Tasks/tools/net6.0/illink.dll" -x...

I created an issue in their issue tracker https://github.com/xamarin/xamarin-macios/issues/15961 it includes a small test repo where I managed to reproduce it.

just edit the macOS Makefile to include the necessary flags for catalyst and you'll get a fat binary to use for the catalyst platform. https://github.com/Pkcs11Interop/empty-pkcs11/blob/2d4de20cbbb14ac251fc5e43f1f12728b5d377ba/build/osx/Makefile