-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Microsoft.NET.Workload.Mono.Toolchain does not get me the arm64 AOT compiler for Mac Catalyst #54996
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. |
@rolfbjarne For me, the binlog zip doesn't appear to have the right file in it. |
Tagging subscribers to this area: @directhex Issue DetailsDescriptionIf I try to use the AOT compiler for Mac Catalyst/ARM64 (RID: This is when executing on an M1 machine (but with the x64 version of .NET) Binlog: msbuild.binlog.zip
|
Don't double click on it on macOS, because macOS will unzip it, and then see that it's a gzcompressed file inside, and gunzip that, which creates an invalid file. If you've already done that, you should be able to make it valid again by gzipping it again. |
The maccatalyst cross pack looks to have the right props file for me:
However, when I look at your binlog, the only MonoAotCrossCompiler item added has a runtimeidentifier w/ |
This appears to be a workload install problem. We use alias-to for maccatalyst and the simulators in order to give you the right target architecture pack. If you are using an x64 host on m1, then the right behavior would be to be able to target both x64 and arm64. The correct fix would be to make all ios/tvos/maccatalyst packs install. |
Description
If I try to use the AOT compiler for Mac Catalyst/ARM64 (RID:
maccatalyst-arm64
), it doesn't work, because the only aot compiler in the MonoAotCrossCompiler item group is the one formaccatalyst-x64
:This is when executing on an M1 machine (but with the x64 version of .NET)
Binlog: msbuild.binlog.zip
CC @steveisok @akoeplinger
The text was updated successfully, but these errors were encountered: