To strip unused code in iOS builds with IL2CPP backend, Unity offers the option to "Strip Engine Code". The documentation for stopping unwanted strips can be found here, but I didn't find any advise, where to put the link.xml.
So where does it have to be? In the Assets folder? Do I have to "activate" it in some way, or is it automatically used, when it sits at the correct path?