Skip to content

Commit

Permalink
Add initial support for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ektrah committed May 15, 2023
1 parent e3132a4 commit e1431c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Cryptography/NSec.Cryptography.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net6.0-ios</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Experimental/NSec.Experimental.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net6.0-ios</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down
4 changes: 4 additions & 0 deletions src/Interop/Interop.Libraries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ internal static partial class Interop
{
private static class Libraries
{
#if IOS
internal const string Libsodium = "__Internal";
#else
internal const string Libsodium = "libsodium";
#endif
}
}

0 comments on commit e1431c6

Please sign in to comment.