Reputation: 2308
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?
Upvotes: 4
Views: 4569
Reputation: 439
based on Unity's Document, you can put link.xml
anywhere in the Assets folder.
creating a link.xml file and placing it into the Assets folder (or any subdirectory of Assets).
Upvotes: 1
Reputation: 2308
I really dislike the Unity documentation sometimes.
Here it says:
The stripping process can be customized by adding a custom link.xml file to the Assets folder of your Unity project.
and there no mentioning of "activating" it in any way, so it's probably used automatically.
Upvotes: 4