xamarin-macios/tools/mtouch
Rolf Bjarne Kvinge f3055ddd6d
[mtouch] Move native code sharing check for the remove-dynamic-registrar optimization until after checking the linker settings. (#3643)
Fixes this test failure:

1) Failed : Xamarin.MTouch.MT0113_linker
The error 'MT0113: Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (All).' was not found in the output:
	Message #1 did not match:
		actual:   'Native code sharing has been disabled for the extension 'testServiceExtension' because the remove-dynamic-registrar optimization differ between the container app (default) and the extension (false).'
		expected: 'Native code sharing has been disabled for the extension 'testServiceExtension' because the managed linker settings are different between the container app (None) and the extension (All).'

which happens because:

* Removing the dynamic registrar requires the linker, so removal of the dynamic registrar is disabled if the linker is not disabled
* This results in the app and appex having different values for the remove-dynamic-registrar option
* Thus the error message.

Technically either error is correct, but I prefer the previous one (about the
linker), because it directly assigns blame (the linker setting). Figuring out
what has to change (the linker setting) when the error message complains about
an optimization is not so straight forward for users.
2018-03-02 18:28:07 +01:00
..
.gitignore [mtouch/mmp] Fix tracking of whether the static registrar should run again or not. Fixes #641. (#3534) 2018-02-19 20:28:04 +01:00
Application.cs [mtouch] Move native code sharing check for the remove-dynamic-registrar optimization until after checking the linker settings. (#3643) 2018-03-02 18:28:07 +01:00
Assembly.cs [mtouch] Bundle duplicated assemblies in the container app. Fixes #58873. (#3626) 2018-03-02 09:39:42 +01:00
AssemblyResolver.cs [mtouch][mmp] Report invalid debug symbols files. Fixes #3200 (#3203) 2018-01-12 17:39:38 -05:00
BitcodeConverter.cs [mtouch] Handle non-ascii characters when converting assembly to bitcode assembly. Fixes #56876. (#2141) 2017-06-01 17:24:39 +02:00
BuildTasks.mtouch.cs [mtouch] Fix Xamarin.Sdk not to link with private frameworks. Fixes #61039 (#3118) 2017-12-22 10:28:29 -05:00
Makefile [linker] Rename the MonoTouchTypeMapStep class to CoreTypeMapStep since it's shared between XI and XM. (#3482) 2018-02-15 00:44:11 +01:00
Stripper.cs Merge Quote methods into a single class instead of multiple versions (#2153) 2017-06-06 12:32:25 -08:00
Target.cs [mtouch] Bundle duplicated assemblies in the container app. Fixes #58873. (#3626) 2018-03-02 09:39:42 +01:00
Tuning.cs [linker] Rename the MonoTouchTypeMapStep class to CoreTypeMapStep since it's shared between XI and XM. (#3482) 2018-02-15 00:44:11 +01:00
error.cs Fixup Xamarin.Mac Hybrid AOT and improve testing (#1995) 2017-05-16 13:29:08 -05:00
monotouch-fixes.c Build our runtime. 2016-04-24 14:47:24 -04:00
mtouch.cs [mtouch] Find the link context for code shared app extensions in the static registrar. Fixes #3514. (#3545) 2018-02-21 09:27:26 +01:00
mtouch.csproj [mmp/mtouch] Update project files after mono bump where files where moved. 2018-02-15 08:32:32 +01:00
mtouch.in [mtouch] Exec the binary in the script. (#1295) 2016-12-02 17:41:38 +01:00
mtouch.sln [mtouch] Add the mtouch test project to the Xamarin.iOS solution. (#1510) 2017-01-16 18:46:15 +01:00
simlauncher.m [Mac,iOS] Generate create_classes as C methods so they can be used from objc. (#2158) 2017-06-02 09:19:04 +02:00