Skip to content

iOS app crashing on device at startup with .NET 8 preview 5 #15673

Closed
@jmezach

Description

@jmezach

Description

It seems that with .NET 8 preview 5 (and possibly earlier previews) a brand-new .NET MAUI iOS app crashes at startup on an iOS Device running iOS 12.5.5.

Steps to Reproduce

  1. Run dotnet new maui -o MauiApp1
  2. Run dotnet build -t:Run -f net8.0-ios -p:RuntimeIdentifier=ios-arm64 -p:_DeviceName=<device-id-of-ios-device-with-12.5.5>
  3. App crashes with the following error: error: * Assertion at /Users/runner/work/1/s/src/mono/mono/utils/mono-hwcap-arm64.c:28, condition `res == 0' not met

Link to public reproduction project repository

https://github.com/jmezach/MauiApp8CrashRepro

Version with bug

8.0.0-preview.5.8529

Last version that worked well

7.0.86

Affected platforms

iOS

Affected platform versions

iPhone OS 12.5.5

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions