I'm working on adding some app extensions to my main app. But it seems pretty ugly that I have to include the full Xamarin framework in the app bundle that is a sub-component of the main app bundle which contains an identical copy of the Xamarin framework. Is there some way to have both just load the same copy so I can keep the size down?
As a sample, I managed to get ExtensionSamples to build in Release config. I had to remove the ShareExtension because I couldn't get rid of the complaint about not having a provisioning profile for it, despite doing the same tweaks as the other two. But with just TodayExtension and FinderSyncExtension included, the release build was 23.9 MB. But when I removed those two extension projects, it dropped to 3.1 MB!
Answers
That is a very valid complaint.
I don't have any ideas off the top of my head but please file an issue: https://github.com/xamarin/xamarin-macios/issues/new
I tried messing with the search path in the app config, but I haven't found the magic combination yet.
https://github.com/xamarin/xamarin-macios/issues/5377