iOS Export failing - "Ahead-of-time compilation is not supported for the target framework"

Godot Version

4.3

Question

Hi All!

I’m having trouble exporting this project to iOS and getting this error -

NETSDK1207: Ahead-of-time compilation is not supported for the target framework. /usr/local/share/dotnet/sdk/8.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5)

If I rebuild a new project with the same contents it seems to work but I’d like to figure it out.
Does anyone know what might be causing that?

Thanks,
Pete

I found this one

Yeah I saw that, but I couldn’t see a solution. It is closed though :man_shrugging:
It’s a bit strange that my new project with all the files copied across works fine. Is that a normal thing to do to “clean” a Godot project if it gets weird?

they mention compilation worked out which is here:

obraz
not sure but maybe we gonna wait for fix that in next .Net update?

1 Like

Oh cool, thanks! I’ll keep an eye out.