My compiled App in 2021/3 hat 57 MB, with 2022/1 now 97MB!! (Mac, 64bit)
I found out in the Content, the RBScript.dylib is the main culprit, increasing from 24.4 MB to over 51.4MB.
Is there an explanation for this, or anyone has an idea why Xojo did that?
Most likely it is because some of Xojoās libraries are universal, even if your application is only one architecture.
When you sign your application with App Wrapper, it should auto trim excess architectures, however if it doesnāt work in your case, you can also set App Wrapper to make your application Intel 64-Bit only and then youāll only get Intel 64-Bit libraries included in the wrapped version.
Thatās really interesting. Hello World doesnāt increase by anything like that. But what I find most interesting is that Universal is nearly the same. We are looking into this. We will let you know what we find.
OK, I have some details. We significantly refactor the IDEās build system for r1. The reasons were both to make it easier for us to maintain internally and to make it more responsive for end users. We build our frameworks as universal for Mac and the build system them strips out the part you donāt use when you build for a single platform. Clearly that code didnāt make it into the new build system. Apparently (and unsurprisingly) most users build universal apps because this change was there from day one of pre-release testing and no one ever noticed it. That said, we need to fix it. So please file a report and then send me the case number and Iāll make sure we fix it for r2.