Skip to content
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

[BUG] Cannot build iOS release/ipa. Failed to AOT compile aot-instances.dll #273

Open
mdbill opened this issue Apr 12, 2024 · 1 comment
Labels

Comments

@mdbill
Copy link

mdbill commented Apr 12, 2024

Description

Works on Android and iOS simulator. Cannot build iOS release/ipa.
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8043/targets/Xamarin.Shared.Sdk.targets(1214,3): error : Failed to AOT compile aot-instances.dll, the AOT compiler exited with code 139.

Code

Add SKLottieView to the .net 8 MauiTemplate app and build release or publish

Expected Behavior

build Release and generate an .ipa file

Actual Behavior

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8043/targets/Xamarin.Shared.Sdk.targets(1214,3): error : Failed to AOT compile aot-instances.dll, the AOT compiler exited with code 139.

Basic Information

  • Version with issue: 2.0.0 (also wasn't working with previews 92 or 96, or presumably any version)
  • Last known good version: n/a
  • IDE: VS Windows with mac build host and also VS Code on Mac.
  • Platform Target Frameworks: net8.0-ios
    • iOS: XCode 15.2, iOS 17.2
@mdbill mdbill added the bug label Apr 12, 2024
@mdbill
Copy link
Author

mdbill commented May 2, 2024

Turns out this only is a problem if the xaml/code is in a Class Library. I used a shared project instead to work-around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant