[mono][ios] Drop marshal-ilgen from iOS builds if it is not needed (#88903)
authorJan Dupej <109523496+jandupej@users.noreply.github.com>
Mon, 24 Jul 2023 15:48:12 +0000 (17:48 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jul 2023 15:48:12 +0000 (17:48 +0200)
commitc8ad0257e5a3abef57c10cfe23463c7b9f75f84c
treef870e75bee5d557b5e4f07f1c49a42775400f8bf
parent9500e4d8fbfc2cb7f11f7a9fd2fd145aa2a64796
[mono][ios] Drop marshal-ilgen from iOS builds if it is not needed (#88903)

* MarshallingPInvokeScanner is applied to Apple toolchains.

* HelloiOS example uses simpler string marshaling.

* Removing marshal-ilgen from HelloWorld.

* Runtime components and runtime library paths are now decided in the correct order relative to building the native runtime.

* RuntimeComponents is manipulated through an ItemGroup.

* Cleaned up commented old code.

* Reordered runtime components section.

* Addressed more feedback.
src/mono/msbuild/apple/build/AppleBuild.props
src/mono/msbuild/apple/build/AppleBuild.targets
src/mono/sample/iOS/Program.cs
src/mono/sample/iOS/Program.csproj