Skip to content

[macOS] NativeAOT unable to produce executables when using the Xcode 15 toolchain #92491

Closed

Description

When the new linker from Xcode 15 is used on object files produced by NativeAOT, the Xcode linker produces artifacts that crash during the first stack walk.

As a workaround it is possible to install Xcode 14.3.1 in parallel and set it as the default toolchain using xcode-select.

This affects arm64 and x64 Macs when using the -p:PublishAot=true option with .NET 8

It also affects the experimental ios NativeAOT support.

There is already a PR to fix the the underlying issue here:

I'm opening this issue mostly for tracking purposes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions