Discussed in #79229
Originally posted by rcdailey December 5, 2022
I have a Github Workflow that compiles my .NET 7 console application using a windows agent. It runs this in a powershell script:
dotnet publish MyProject.csproj `--output publish `--configuration Release`--runtime osx-arm64 `--self-contained true `-p:PublishSingleFile=true `-p:IncludeNativeLibrariesForSelfExtract=true `-p:PublishReadyToRunComposite=true `-p:PublishReadyToRunShowWarnings=true `-p:EnableCompressionInSingleFile=true
This is the platform I'm running on:

My application is not signed, but Mac lets me bypass that for testing purposes. Eventually it just fails like so:
[1] 37470 killed ./myconsoleapp --help
I get no further diagnostics. What steps can I take to further diagnose the issue? Why is osx-arm64 not working but osx-x64 works just fine?
Discussed in #79229
Originally posted by rcdailey December 5, 2022
I have a Github Workflow that compiles my .NET 7 console application using a windows agent. It runs this in a powershell script:
This is the platform I'm running on:
My application is not signed, but Mac lets me bypass that for testing purposes. Eventually it just fails like so:
I get no further diagnostics. What steps can I take to further diagnose the issue? Why is
osx-arm64not working butosx-x64works just fine?