镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Enable building NativeAOT for Apple mobile platforms #81024

Closed

Description

@ivanpovazan

Description

dotnet/runtime currently does not support building NativeAOT subset (framework, SDK libraries and tools) for iOS platforms. Additionally, building an appropriate runtime NuGet package for these platforms is also unavailable.

Enable building NativeAOT subset and creating matching runtime NuGet packages for the following set of platforms (target operating system and architecture combinations):

  • iOS/tvOS (arm64)
  • iOS/tvOS Simulator (x64, arm64)
  • MacCatalyst (x64, arm64)

The feature should be conditionally included by introducing appropriate preprocessor directives

Remaining tasks:

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jan 23, 2023
  2. added and removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 23, 2023
  3. added this to the 8.0.0 milestone on Jan 23, 2023
  4. changed the title [-]Enable building NativeAOT for iOS platforms[/-] [+]Enable building NativeAOT for Apple mobile platforms[/+] on Feb 7, 2023
  5. ivanpovazan commented on May 23, 2023

    @ivanpovazan
    MemberAuthor

    @akoeplinger
    I was going through the tasks, listed in the issue description, and had a question regarding:

    [ ] Properly implement targeting these platforms rather than pretending to be macOS

    Were you referring to this workaround (and what is brings along):

    target.IsOSXLike ? CORINFO_OS.CORINFO_MACOS : CORINFO_OS.CORINFO_UNIX;

  6. akoeplinger commented on Jun 15, 2023

    @akoeplinger
    Member

    @ivanpovazan yes, and that also has corresponding implications on the native side. When I initially tried this I was getting asserts in the ILCompiler so we'll probably need a bit of help from the NativeAOT side.

  7. ivanpovazan commented on Jun 15, 2023

    @ivanpovazan
    MemberAuthor

    The remaining task:

    • Properly implement targeting these platforms rather than pretending to be macOS

    is moved and tracked separately in the top-level tracking issue as it is identified as an improvement.

    Closing this issue as all other tasks are completed.

  8. ghost locked as resolved and limited conversation to collaborators on Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions