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

How does MtouchInterpreter property get used by these targets? #18380

Closed
NickDarvey opened this issue May 31, 2023 · 2 comments
Closed

How does MtouchInterpreter property get used by these targets? #18380

NickDarvey opened this issue May 31, 2023 · 2 comments
Milestone

Comments

@NickDarvey
Copy link

NickDarvey commented May 31, 2023

The AOTCompile task is failing for me as described in microsoftgraph/msgraph-sdk-dotnet#1530

I'm trying to use the workaround as described in:

However, my MtouchInterpreter property is not having an effect and I'm trying to diagnose why.

I can see in my binlog that this property is never used (except for me declaring it) and the only place I can see that property used in this repo is

Interpreter="$(MtouchInterpreter)"

which is in a target which has a condition which is not met (because UsingAppleNETSdk == true).

<Target Name="_CompileToNative" DependsOnTargets="$(_CompileToNativeDependsOn)"
Condition = "'$(IsAppDistribution)' != 'true' And '$(UsingAppleNETSdk)' != 'true'"

Where is the MtouchInterpreter property actually used?

Environment

Version information
dotnet 7.0.100
Microsoft.iOS.Sdk 16.2.1024

Build Logs

Edit: Pending. Will upload soon.

@rolfbjarne
Copy link
Member

For .NET projects, the $(MtouchInterpreter) property is consumed in the Xamarin.Shared.Sdk.targets file:

Interpreter=$(MtouchInterpreter)

However, please file an issue about the crash as well, because the AOT compiler shouldn't crash like that.

@rolfbjarne rolfbjarne added this to the Future milestone May 31, 2023
@rolfbjarne rolfbjarne closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2023
@NickDarvey
Copy link
Author

NickDarvey commented Jun 1, 2023

However, please file an issue about the crash as well, because the AOT compiler shouldn't crash like that.

#18388

@ghost ghost locked as resolved and limited conversation to collaborators Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants