-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executable from dotnet publish
for Apple Silicon is not working. .net 6 preview 1.
#49091
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I hit this as well and found that you need to sign the binary.
|
@bholmes Thank you. From "macOS Big Sur 11.0.1 Universal Apps Release Notes"
|
Tagging subscribers to this area: @vitek-karas, @agocke Issue DetailsThe executable from Test script:
My output:
Machine information:
|
Moving to host area since the published host needs signing. Believe there is a separate issue tracking that. |
@VSadov do we have an issue tracking the "sign apphost in SDK on Mac" ? |
I am not sure if we have an issue for this. It looks more of a documentation issue though. The apphost (or a singlefile executable) will have to be signed or notarized or otherwise comply with distribution requirements on MacOS. These steps typically must be done by the developer and on an actual Mac machine. We could probably ad-hoc sign when building on Mac, but I am not sure if that is always the right thing to do. CC: @samsp-msft |
It would be really weird if Ideally we would sign |
This should be fixed now that we're dev signing during publish #50375 |
Looks like it's broken again in preview 7 |
@parkycai could you please provide details on what scenario you are noticing is broken? |
--self-contained is working, but with -p:PublishSingleFile=true, it's broken. Test Script:
My output:
I notice that and
Enviroments:
|
I'm opening a new issue. |
The executable from
dotnet publish --self-contained -r osx-arm64
does not run as expected. It fails with a kill signal like:zsh: killed
Test script:
My output:
Machine information:
The text was updated successfully, but these errors were encountered: