You might want to verify that part about dead code stripping for yourself.
We did some tests and turned Dead Code Stripping on and off (Build Settings) and our xcarchive file was exactly the same size (did not strip out the code used mock preview data).