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
{{ message }}
Repository navigation
8.0.0-rc.1 Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit #93167
System.DllNotFoundException: Unable to load shared library 'libSystem.Security.Cryptography.Native.Apple' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(???/dotnet-sdk/shared/Microsoft.NETCore.App/8.0.0-rc.1.23419.4/libSystem.Security.Cryptography.Native.Apple.dylib, 1): Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit
macOS Mojave 10.14.6
Reproduction Steps
Use System.Security.Cryptography.MD5.Create(); in macOS Mojave 10.14.6.
Expected behavior
Same as .Net 7.0, can be used normally.
Actual behavior
System.DllNotFoundException: Unable to load shared library 'libSystem.Security.Cryptography.Native.Apple' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(???/dotnet-sdk/shared/Microsoft.NETCore.App/8.0.0-rc.1.23419.4/libSystem.Security.Cryptography.Native.Apple.dylib, 1): Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit
Regression?
No response
Known Workarounds
No response
Configuration
8.0.0-rc.1.23419.4 error
7.0.x correct
Other information
No response
Activity
ghost added
untriagedNew issue has not been triaged by the area owner
Starting from .Net Core 3.1, .Net requires macOS10.15+. But until .Net 7, it can run normally on macOS 10.14. And SDK 8.0.100-rc.1 Installer can be installed on macOS10.14.
Starting from macOS10.15+, macOS no longer supports 32-bit software, which makes projects that rely on 32-bit tool chains unable to run. Therefore, there are a large number of devices that have stopped updating to macOS 10.14 and will no longer be upgraded. .Net 8 is an important LTS version, so I recommend that .Net 8 be compatible with macOS 10.14.
The installer should be blocking installation on 10.14. Are you saying that you were able to run the pkg installer on 10.14 and it did not block installation?
I recommend that .Net 8 be compatible with macOS 10.14.
Making 10.15 the minimum allowed solving numerous challenges to help .NET gain support for some cryptographic primitives without a dependency on third party software.
Additionally, it is far too late in the .NET 8 release cycle to consider undoing those changes.
Yes, I can run 8.0.100-rc.1 pkg installer on macOS 10.14.6, it did not block installation, and the installation was successful. I can even get this to run fine without using a library that doesn't exist.
Apple completely removed the ability to run 32-bit applications on 10.15. I assume the author is saying that, if you have 32-bit apps you still want to run, then you cannot upgrade to 10.15. So they are stuck in a position of needing to stay on 10.14 for 32-bit app support for [some other software] and not being able to use .NET 8.
Apple completely removed the ability to run 32-bit applications on 10.15. I assume the author is saying that, if you have 32-bit apps you still want to run, then you cannot upgrade to 10.15. So they are stuck in a position of needing to stay on 10.14 for 32-bit app support for [some other software] and not being able to use .NET 8.
Activity
vcsjones commentedon Oct 7, 2023
.NET 8 requires macOS 10.15 or later.
macOS 10.14 does not include the CryptoKit library that .NET 8 uses for cryptography purposes.
zhenlinyang commentedon Oct 7, 2023
Starting from
.Net Core 3.1,.NetrequiresmacOS10.15+. But until.Net 7, it can run normally onmacOS 10.14. AndSDK 8.0.100-rc.1 Installercan be installed onmacOS10.14.Starting from
macOS10.15+,macOSno longer supports 32-bit software, which makes projects that rely on 32-bit tool chains unable to run. Therefore, there are a large number of devices that have stopped updating tomacOS 10.14and will no longer be upgraded..Net 8is an important LTS version, so I recommend that.Net 8be compatible withmacOS 10.14.Thanks.
vcsjones commentedon Oct 7, 2023
The installer should be blocking installation on 10.14. Are you saying that you were able to run the pkg installer on 10.14 and it did not block installation?
runtime/src/installer/pkg/sfx/bundle/shared-framework-distribution-template-x64.xml
Line 10 in f21a266
Making 10.15 the minimum allowed solving numerous challenges to help .NET gain support for some cryptographic primitives without a dependency on third party software.
Additionally, it is far too late in the .NET 8 release cycle to consider undoing those changes.
zhenlinyang commentedon Oct 7, 2023
Yes, I can run
8.0.100-rc.1pkg installer onmacOS 10.14.6, it did not block installation, and the installation was successful. I can even get this to run fine without using a library that doesn't exist.vcsjones commentedon Oct 7, 2023
I see. I think the problem is here:
https://github.com/dotnet/installer/blob/a382864dae552097c5a3245bcbf92d226f3d1fe9/src/redist/targets/GeneratePKG.targets#L98
The installer says 10.13 is the minimum here. @akoeplinger should we be bumping this version in the installer to 10.15?
akoeplinger commentedon Oct 7, 2023
Yes, we do set the min macOS version in dotnet/runtime here which affects e.g. the standalone shared framework .pkg:
runtime/Directory.Build.props
Line 67 in f21a266
I'll send a PR to installer to fix this there too.
Fix minimum macOS version in the .pkg manifest
Update comment with min OS version locations to update
richlander commentedon Oct 8, 2023
Can you elaborate on that? What's the 32-bit software being discussed? We've only ever offered a 64-bit build for macOS.
vcsjones commentedon Oct 8, 2023
Apple completely removed the ability to run 32-bit applications on 10.15. I assume the author is saying that, if you have 32-bit apps you still want to run, then you cannot upgrade to 10.15. So they are stuck in a position of needing to stay on 10.14 for 32-bit app support for [some other software] and not being able to use .NET 8.
Fix minimum macOS version in the .pkg manifest
zhenlinyang commentedon Oct 11, 2023
Yes, I mean that.
adamsitnik commentedon Oct 18, 2023
Since this is by design and the installer is about to get fixed (dotnet/installer#17480), I am closing the issue.
Fix minimum macOS version in the .pkg manifest (#17480)
[installer] Sync 99bd52a: Fix minimum macOS version in the .pkg manif…