-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
Issue Title
netcore single file executable codesign fail on macOS
General
- Create a console "Hello world" executable on macOS.
- Generate a single file executable followed: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#single-file-executables
- run codesign with this exe.
You will get error message: main executable failed strict validation
If you add --no-strict option in codesign, you will get more detailed error messages:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: the __LINKEDIT segment does not cover the end of the file (can't be processed) in: /Volumes/Data/temp/HelloDotNet/bin/Release/netcoreapp3.0/osx.10.12-x64/publish/MacOS/HelloDotNet
/Volumes/Data/temp/HelloDotNet/bin/Release/netcoreapp3.0/osx.10.12-x64/publish/MacOS/HelloDotNet: the codesign_allocate helper tool cannot be found or used
rlalance, Jmales and neomafo88
Metadata
Metadata
Assignees
Labels
No labels