Trying to optimize build size for iOS build. As you may know that Apple add DRM for the executable file, make it less compress-able. So generally speaking, you want to keep executable as small as possible.
After checking Unity editor console log, I found that there’s quite a lot source code files NOT used in my main scene are list in
“Used Assets, sorted by uncompressed size” section. (If you’re curious, these are FSM Actions files of PlayMaker plugin)
I have set stripping level to StripByteCode, so I assume those unused code should be stripped. But I’m confused after a simple test - by removing all those unused source files and rebuild for iOS, Xcode report me that the executable file size is 0.7MB smaller!
Is this expected behaviour?