As far as i understand App thinning, it is all done by Apple. It looks at what is the target device, and the required images and stuff will be provided to the user automatically.
If you would like get thinner app, maybe refactoring is the topic you should look at.