Skip to content

Instantly share code, notes, and snippets.

@YOU54F
Created May 17, 2024 20:13
Show Gist options
  • Save YOU54F/e97f6287236ec034517e8348380d38cb to your computer and use it in GitHub Desktop.
Save YOU54F/e97f6287236ec034517e8348380d38cb to your computer and use it in GitHub Desktop.
.NET 8 error on MacOS Apple Silicon with SIP disabled

Related to closed issue dotnet/runtime#96247

❯ brew install dotnet-sdk8-0-100
==> Installing Cask dotnet-sdk8-0-100
==> Running installer for dotnet-sdk8-0-100 with sudo; the password may be necessary.
Password:
installer: Package name is Microsoft .NET SDK 8.0.101 (arm64)
installer: Upgrading at base path /
installer: The upgrade was successful.
🍺  dotnet-sdk8-0-100 was successfully installed!
❯ csrutil status
System Integrity Protection status: disabled.
❯ dotnet --version                              
Failed to create CoreCLR, HRESULT: 0x8007000C
❯ sudo codesign --remove-signature $(which dotnet)
❯ dotnet --version                             
8.0.101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment