Sodium.Core
in net7.0
work but crashes in net7.0-maccatalyst
. Why?
#79502
-
Hey .NET gurus Would you possibly know a reason why a console application (net7.0) works with I understand that the question is hard to answer but maybe you can just give me a pointer what might be wrong or how to debug the issue. I have spent days on this but given that I don't know low level details of MacCatalyst & .NET, it's pretty hard for me to understand the issue. Can it possibly be because I need to bundle somehow the libsodium native library with my Mac Catalyst app? Test console app<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace>libsodium_core_console</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Sodium.Core" Version="1.3.1" />
</ItemGroup>
</Project> using Sodium;
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine(SecretAeadAes.IsAvailable);
}
} Test MacCatalyst app
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could you attach a binary build log + the exact exception message with stack trace you get? |
Beta Was this translation helpful? Give feedback.
Could you attach a binary build log + the exact exception message with stack trace you get?